展会信息港展会大全

C# 选择器 checkedListBox 移动勾选
来源:互联网   发布日期:2016-01-27 15:28:01   浏览:1473次  

导读:private void buttonSendChoickedToNosend_Click(object sender, EventArgs e) { int end = this checkedListBoxSend Items Count; for (int i = 0; i end ; i++) { if (che ...

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]);// 删除

}

}

赞助本站

人工智能实验室

相关热词: checkedListBox 选择器 C

相关内容
AiLab云推荐
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港