| 标题 | 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]);//删除 } } |
| 随便看 |
|
在线学习网范文大全提供好词好句、学习总结、工作总结、演讲稿等写作素材及范文模板,是学习及工作的有利工具。