title: Hiding and showing panels
body: <p><strong>EDIT</strong><br />
  I've found and posted the solution.</p>
  <p>I am trying to make an installer for my application and I am trying to do that with panels (I don't know if this is a good way of doing it, but this gives me more customization options instead of using the install shield program). What would be the best way to do this?<br />
  This is the code I have right know:</p>
  <p><strong>C# Code</strong></p>
  <pre><code>foreach (var c in Controls)
  {
      if (!(c is Panel)) continue;
      if (c.Name == &quot;pnlBottom&quot;) continue;
          
      c.Visible = c.Name.Contains(_currentPanel.ToString());
      
      if (c.Visible) return;
  }
  </code></pre>