111,126
社区成员
发帖
与我相关
我的任务
分享foreach (int item in checkedListBox1.CheckedIndices)
{
checkedListBox1.SetItemChecked(item, false);
}
int[] indexs = new int[checkedListBox1.CheckedIndices.Count];
checkedListBox1.CheckedIndices.CopyTo(indexs, 0);
Array.ForEach(indexs, v1 => checkedListBox1.SetItemChecked(v1, false));