title: How to open a child form from another child form?
body: <p>I am working on a Windows application. I have a MainForm (Parent) and several childForm. There is a listview in MainForm that contains a childForm name list and by clicking on each name in the list, the relevant childForm shows and the previous ChildForm closes.</p>
  
  <p>I use this codes to show childForm and close the previous childForm in MainForm.cs (ParentForm):</p>
  
  <pre><code>CloseForms();
  frm_draft = new frm_ShowDraft();
  frm_draft.MdiParent = this;
  frm_draft.Show();
  </code></pre>
  
  <p>CloseForm() is a method that checks, which childForm is runnig and closes it.
  So far everything is good.</p>
  
  <p>In one of the childforms there is a Button. When the user clicks on it, it should close this childForm and show another. But when I click on the button, childForm2 shows out of MainForm. How can I show it inside of MainForm?</p>
  
  <p>My code in the button click event:</p>
  
  <pre><code>this.close();
  frm_c2 = new frm_child2();
  frm_c2.MdiParent = new MainForm().ParentForm; /// Or this.MdiForm
  frm_c2.Show();
  </code></pre>