您现在的位置: 万盛学电脑网 >> 程序编程 >> 网络编程 >> asp.net编程 >> 正文

获取checkedListBox 选中的项并且移动

作者:佚名    责任编辑:admin    更新时间:2022-06-22

 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);
}
}