萬盛學電腦網

 萬盛學電腦網 >> 網絡編程 >> asp.net編程 >> 獲取checkedListBox 選中的項並且移動

獲取checkedListBox 選中的項並且移動

 private void buttonSendChoickedToNosend_Click(object sender, EventArgs e)
{
for (int i = 0; i < this.checkedListBoxSend.CheckedItems.Count; i++)
{
this.checkedListBoxSiftEmail.Items.Add(checkedListBoxSend.GetItemText(checkedListBoxSend.Items[i]));
this.checkedListBoxSend.Items.RemoveAt(i);
}
}

copyright © 萬盛學電腦網 all rights reserved