title: Open new form after selecting item on listbox
body: <p>I have a listbox and a button on my form. Listbox contains of 3 elements: House, People, Outdoor.
  I have also created 3 forms to represent the values from the listbox.</p>
  
  <p>I would like to user to highlight the item on the listbox and after clicking the button I would like to open the form selected by the user.</p>
  
  <p>How can I achieve this? I have tried this link: <a href="https://stackoverflow.com/questions/8645896/calling-new-form-by-clicking-an-item-on-the-listbox">Calling new Form by clicking an item on the ListBox</a> but without any success.</p>
  
  <p>I have tried:</p>
  
  <pre><code>public Select()
          {
              InitializeComponent();
              listBox1.Click += OnListBoxItemClick;
          }
  
  
          private void OnListBoxItemClick(object sender, EventArgs e)
          {
              var form2 = new House();
              House.ShowDialog();
          }
  </code></pre>
  
  <ol>
  <li>This would only allow me to open one form. How can I assigned different forms to be open with different values from listbox?</li>
  <li>I would like the form to open after I click on the button, not the value in the listbox, how to achieve it?</li>
  </ol>