ProgrammingLinks/ComboBoxTricks

When changing the value via SelectedIndexChanged events, it is often very helpful to know what the old value was. You can set this value in the OnClick method as follows:

   1    ((ComboBox)sender).Tag=(([TYPE])((ComboBox).sender).SelectedItem).[property]

ProgrammingLinks/ComboBoxTricks (last edited 2011-02-28 15:25:46 by 24-151-193-255)