title: How to get items from ComboBox to ListBox
body: <p>I've problem that I can't find answer to. Basically I have a ComboBox and a Listbox. What I need is that when I select and item from ComboBox, for example item named "Label", items like "Font", "ForeColor" will appear in Listbox. How do I do that? I've tried to do it like this:</p>
  
  <pre><code>listBox1.Items.Clear();
  if (comboBox1.SelectedIndex == 3)
  {
      listBox1.Items.Add("Fonts");
  }
  </code></pre>
  
  <p>...But nothing happened.</p>