熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> .NET編程 >> 正文

C# 選擇器 checkedListBox 移動勾選

2022-06-13   來源: .NET編程 

  private void buttonSendChoickedToNosend_Click(object sender EventArgs e)

  {

  int end = thischeckedListBoxSendItemsCount;

  for (int i = ; i < end ; i++)

  {

  if (checkedListBoxSendGetItemChecked(i))

  {

  thischeckedListBoxSiftEmailItemsAdd(checkedListBoxSendGetItemText(checkedListBoxSendItems[i]));

  }

  }

  for (int j = ; j < thischeckedListBoxSendCheckedIndicesCount;)

  {

  thischeckedListBoxSendItemsRemoveAt(thischeckedListBoxSendCheckedIndices[]);//刪除

  }

  }


From:http://tw.wingwit.com/Article/program/net/201311/14220.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.