How to Remove Selected Items from Multiple List Boxes
<p>I have two listboxes and listbox1 selected index changed Event has the code :</p>

<pre><code>      listBox2.SelectedIndex = listBox1.SelectedIndex
</code></pre>

<p>so when i click the item in one listbox , the Item with the same Index is selected automatically in another listbox, now i wanna remove these two items with a button . when i write the following code :</p>

<pre><code>      listBox1.Items.Remove(listBox1.SelectedItem);
      listBox2.Items.Remove(listBox2.SelectedItem);
</code></pre>

<p>It Deletes only the Listbox1 SelectedItem , why not it is Deleting ListBox 2 selectedItem ??
I need Urgent Help / Response .I Would be very Greatful/ThankFul to all of YOU.
THANKS IN ADVANCE ,</p>
