title: ComboBox SelectedIndexChanged not always fired - how do I check when it is?
body: <p>I've got two ComboBoxes (they're DevExpress ComboBoxEdits in actuality, but I think in this case the behaviour is the same) and when the first box's index changes, I want to fire the same event for the second box, so it will show the correct related data.</p>
  
  <p>My problem is that half the time this works perfectly, but sometimes the second event is not fired. The code looks roughly like this:</p>
  
  <pre><code>ComboBox1_SelectedIndexChanged()
  {
     ....
     ComboBox2.SelectedIndex = new_index;
  }
  </code></pre>
  
  <p>So I'm not explicitly firing the ComboBox2_SelectedIndexChanged event, but relying on the SelectedIndex being updated. 
  So why doesn't this fire every time? If I'm explicitly <em>setting</em> the index, wouldn't that fire the event, if the new index and the old index are the same?</p>
  
  <p>I found this question, only partially related but I imagine the root problem may be similar (the value isn't always changed as expected?) <a href="https://stackoverflow.com/questions/4759579/winforms-combobox-selectedindexchanged-not-firing-when-typing-few-chars-followed">WinForms ComboBox SelectedIndexChanged not firing when typing few chars followed by Alt+Down</a></p>
  
  <p>Thanks,
  need some elucidation on this!</p>