title: How do I prevent the app from terminating when I close the startup form?
body: <p>There is two Forms in my project : Form1 and Form2.
  There is a button in Form1, and what I want to do is closing Form1 and showing Form2 when that button clicked.</p>
  
  <p>First, I tried</p>
  
  <pre><code>Form2 frm = new Form2();
  frm.Show();
  this.Close();
  </code></pre>
  
  <p>but as Form1 was closed, Form2 also got closed.
  Next, I tried</p>
  
  <pre><code>Form2 frm = new Form2();
  frm.Show();
  this.Hide();
  </code></pre>
  
  <p>but there is a disadvantage that the application does not exit when the Form2 is closed.So, I had to put in additional sources in&nbsp;form_FormClosing section of Form2.</p>
  
  <p>Hmm.... I wonder whether this is the right way....So, what is the proper way of handling this problem?</p>