title: Close two open forms together in a Winforms application
body: <p>I am working on a Windows forms application</p>
  
  <p>In the parent form I open two forms together - <code>FrmrecievedDelivaryRequest</code> and <code>FrmReleasedInPodium</code></p>
  
  <p>In parent form I opened two forms like this:</p>
  
  <pre><code>frm1 = New FrmrecievedDelivaryRequest
  frm1.Location = New Point(375, 0)
  frm1.MdiParent = Me
  frm1.Show()
  
  frm6 = New FrmReleasedInPodium
  frm6.Location = New Point(809, 0)
  frm6.MdiParent = Me
  frm6.Show()
  </code></pre>
  
  <p>in <code>FrmReleasedInPodium</code> I have a close button.</p>
  
  <p>When clicking the close button I have to close both forms, so I wrote this code:</p>
  
  <pre><code>  Me.Close()
    Dim form2 = New FrmrecievedDelivaryRequest()
    form2.Close()
  </code></pre>
  
  <p>but this is not closing my <code>FrmrecievedDelivaryRequest</code>,only closing <code>FrmReleasedInPodium</code>. </p>
  
  <p>When clicking the close button I have to close both forms.. how can I do that?</p>