title: Using form.ShowDialog() after this.Dispose();
body: <p>I'm launching a form from another form. I want the parent form to be disposed before showing the subform, so I use: </p>
  
  <pre><code> this.Dispose();
   form.ShowDialog(); 
  </code></pre>
  
  <p>The form is displayed, is this the correct way to do it? The form from is launched by a call to <code>ShowDialog()</code> from the main form. I want these forms to be closed before the main form is editable.</p>
  
  <pre><code>EDIT:
  </code></pre>
  
  <p>This is the Basic Process</p>
  
  <p><strong>Mainform>(Showdialog)>form1>(dispose+showDialog)>form2(dispose)>Mainform</strong></p>