title: Form closing when using this.hide()
body: <p>Whenever i use this.Hide(); the form closes and does not just hide??
  I am planning to use this.Hide(); to minimize my form to the system tray.</p>
  
  <p>This closes the form..</p>
  
  <pre><code> private void label14_Click(object sender, EventArgs e)
      {
          this.Hide();
  
      }
  </code></pre>
  
  <p>This form is the second form that starts up, and it is called from the first form like this:</p>
  
  <pre><code>Form frm = new Main();
  frm.ShowDialog();
  </code></pre>
  
  <p>I did try to use frm.Show(); but then the program terminates again..
  So the problem lies in the way the form is first started i would guess?</p>
  
  <p>EDIT: I had to change the way the form was called.
  I had to use this.hide instead of this.close on the first form.</p>