title: How to make all forms in a project as mdi child of mdi form.
body: <p>In my winforms I have mdi form. Here I want to make all forms as child of mdi parent.</p>
  
  <p>My forms structure are like this.</p>
  
  <pre><code>MainForm (Mdi parent)
  FrmEmployeeDetails(child of MainForm)
  FrmNewEmployeeDetails(child of FrmEmployeeDetails)
  </code></pre>
  
  <p>When I execute the project.form <code>NewEmployeeDetails</code> is opening outside the MainForm.</p>
  
  <p>For <code>FrmEmployeeDetails</code> I coded like this.</p>
  
  <pre><code>FrmEmployeeDetails EmployeeDetails= new FrmEmployeeDetails();
  EmployeeDetails.MDIparent=this;
  EmployeeDetails.show();
  </code></pre>
  
  <p><code>FrmNewEmployeeDetails</code> is child form of <code>FrmEmployeeDetails</code>.</p>
  
  <p>For the form <code>FrmEmployeeDetails</code> I am creating <code>NewEmployeeDetails</code> as like this.</p>
  
  <pre><code>FrmNewEmployeeDetails newemployeedetails = new FrmNewEmployeeDetails();
  newemployeedetails.show(); 
  </code></pre>
  
  <blockquote>
    <p>How can I make <code>FrmNewEmployeeDetails</code>
    as mdi child of <code>MainForm</code>.</p>
  </blockquote>
  
  <p>Thanks in advance.</p>