title: if I close one of the two forms, both close
body: <p>I have two forms in my application. If I try to close the child form (by clicking on top-right cross), both close.</p>
  
  <p>To show the child form, I'm using <code>Form.ShowDialog()</code> after clicking a button. This is the first time it happened and I can't explain this.</p>
  
  <pre><code>Private Sub btnShowChildForm_Click(ByVal sender As System.Object, ByVal e As Sysyem.EventArgs) Handles btnShowChildForm_Click
  
      '...
  
      Dim formChild As New frmChild
      formChild.ShowDialog()
  
  End Sub
  </code></pre>