I have a user control which has a ComboBox and a SelectedIndexChanged event handler. In the event handler, I need to be able to tell what was the previously selected index.
how about the comboBox_SelectionChangeCommitted event? this is called after the selection is made, the menu is collapsed but the item is not compleetly changed. So just read comboBox.SelectedText or comboBox.SelectedValue and even comboBox.SelectedIndex
private void comboBox1_SelectionChangeCommitted(object sender, EventArgs e)
{
int prevIndex = comboBox1.SelectedIndex;
}