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]);//删除 } }
本文介绍了一种通过检查列表并实现批量操作邮箱发送列表的方法,优化了邮件发送流程。
2万+

被折叠的 条评论
为什么被折叠?



