title: C# unload and load form / hide and close
body: <p>I am coding a simple sidescroller in C# using Windows Form Applications. I want it so when the player touches an exit point, this immediately loads a new level.</p>
  
  <p>To implement this, I use the following code:</p>
  
  <pre><code>if (player.Bounds.IntersectsWith(exit.Bounds))
  {
      Form2 myNewForm = new Form2();
      myNewForm.Visible = true;
      this.Hide();
  }
  </code></pre>
  
  <p>This works. However, it loads numerous instances of form2 - I only want it to load once. I don't know how to write this (sorry, I'm a newbie - it took me a while just to write this code!).</p>
  
  <p>Also, loading a level via a new form is inefficient. Is there a way to unload the open form to load the next one in the same window/instance, rather than creating another separate window?</p>
  
  <p>Sorry if this is unclear. I've done my best research + I'm new. Please don't mention XNA! Thanks.</p>