SelectedIndices Changed Listbox
<p>Is there some event I can use to tell when the <code>SelectedIndices</code> property changes for a listbox? I want to deselect items in a listbox based on a certain property value of the item. I've hooked up an event that works for when a <code>SelectedIndex</code> is changed, but not sure how to do it for when the <code>SelectedIndices</code> property changes for multiselection.</p>

<pre><code>private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
{
     Curve curItem = (Curve)listBox1.SelectedItem;
     int index = listBox1.Items.IndexOf(curItem);

     if (curItem.newName == null)
     {
          listBox1.SetSelected(index, false);
     }
}
</code></pre>
