C# 选择器 checkedListBox 移动勾选的

        private void buttonSendChoickedToNosend_Click(object sender, EventArgs e)
        {
            int end = this.checkedListBoxSend.Items.Count;
            for (int i = 0; i < end ; i++)
            {
                if (checkedListBoxSend.GetItemChecked(i))
                {
                    this.checkedListBoxSiftEmail.Items.Add(checkedListBoxSend.GetItemText(checkedListBoxSend.Items[i]));
                }
            }
            for (int j = 0; j < this.checkedListBoxSend.CheckedIndices.Count;)
            {
                this.checkedListBoxSend.Items.RemoveAt(this.checkedListBoxSend.CheckedIndices[0]);//删除
            }
        }
原文地址:https://www.cnblogs.com/maijin/p/2841991.html