/ Published in: C#
Expand |
Embed | Plain Text
for (int i = 0; i < MyListBox.Items.Count; i++) { if (MyListBox.Items[i].Selected) { MyListBox.Items.Remove(MyListBox.Items[i]); } }
You need to login to post a comment.
leonbda on 01/21/09
1 person have marked this snippet as a favorite
for (int i = 0; i < MyListBox.Items.Count; i++) { if (MyListBox.Items[i].Selected) { MyListBox.Items.Remove(MyListBox.Items[i]); } }
You need to login to post a comment.