title: Biding dictionary key values to listbox and removing thereafter
body: <p>I am trying to bind keys from a <code>dictionary</code> to a <code>listbox</code>. I also want to create  a button that allows me to remove an item from the <code>listbox</code> and <code>dictionary</code>.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I've used the following code for binding the <code>dictionary</code> to the <code>listbox</code>:</p>
  
  <pre><code>listbox.DataSource = new BindingSource(dictionary, nothing)
  listbox.DisplayMember = "Value"
  listbox.ValueMember = "Key"
  </code></pre>
  
  <p>However when  I try to remove a selected item from the listbox with the following code:</p>
  
  <pre><code>listbox.Items.Remove(listbox.SelectedItem)
  </code></pre>
  
  <p>I get an error saying "item collection cannot be modified when DataSource property is set." How can I avoid this?</p>