title: Prevent Child Components when Overlapping Panel
body: <p>I have a WinForms application which has two panels which individually contain a usercontrol component (one in each panel). How ever, because both panels are the same size and in the same location, the top most panel becomes a child of the other panel. I want to be able to hide one panel and then show the other panel:</p>
  
  <pre><code>this.panel1.visibile = false;
  this.panel2.visibile = true;
  </code></pre>
  
  <p>But when I hide panel1, the second panel is hidden as well.</p>
  
  <p>How can I make panel2 a non-child of panel1?</p>
  
  <p>I like to keep things simple because I'm new to C# Programming.</p>