两个checkListBox 切换的使用 ArrayList arr = new ArrayList(); for (int i = 0; i < checkedListBox1.Items.Count; i++) { if (checkedListBox1.GetItemChecked(i)) { checkedListBox2.Items.Add(checkedListBox1.Items[i]); arr.Add(checkedListBox1.Items[i]); } } foreach (object
obj in arr) { checkedListBox1.Items.Remove(obj); }
checkedListBoxd的使用。
最新推荐文章于 2024-05-10 17:34:22 发布