title: How to open child forms positioned within MDI parent in VB.NET?
body: <p>How do we arrange child forms in a parent MDI window? I'm able to call and display a child form from a menu on the parent, but the child pops up outside the parent - I want it to actually be inside the parent. I've checked in C# and VB.Net solutions but they all say pretty much the same, i.e. try to access LayoutMDI, such as here:</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/x9fhk181.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/x9fhk181.aspx</a></p>
  
  <p>The problem is, where do I access this? When I'm in the code of my MDI parent, <code>Me.LayoutMdi</code> is not recognized. In which part of the application do I put the <code>Me.LayoutMDI</code> code?</p>
  
  <h2>Edit</h2>
  
  <p>The <code>Me.LayoutMDI</code> code worked in the parent after all. I'd been trying for a while but don't know where I was going wrong.</p>
  
  <p>However, the child continues to pop up out of the parent. Here's an image of how that happens. The broader form in the back is the parent, and the one with the gridview and two buttons is the new child that popped up. I want it to pop up "Docked" within the parent.</p>
  
  <p><img src="https://i.stack.imgur.com/8U9bU.jpg" alt="enter image description here"></p>