if listBox1.CheckedItem is from checkedListBox1 do...
else if listBox1.CheckedItem is from checkedListBox2 do....
I have one button for passing items TO listBox and second one for passing values FROM listBox and i have trouble performing check from which checkedListBox items are.
I passed items to listBox like this:
string[] stringArray = new string[checkedListBox1.CheckedItems.Count]; listBox1.Items.AddRange(stringArray);
Of course with some checkings and cycles and same for other string[].

New Topic/Question
Reply



MultiQuote




|