I am using a listbox in my C#2.0 windows forms application. The method to populate the list box is
private void PopulateListBox(ListBox lb, ReportColum
Inside the SelectedIndexChanged method, just pit in an if statement that says, if SelectedIndex == -1 do nothing else, do whatever you want to do in this method, probably not the most efficient code but worked for me :)
SelectedIndexChanged
SelectedIndex == -1