title: Hiding and Showing TabPages in tabControl
body: <p>I am trying to show or hide tabpages as per user choice. If user selects gender male then form for male in a tabpage "male" should be displayed and if user selects female then similar next form should be displayed in next tab "female"</p>
  
  <p>I tried using</p>
  
  <pre><code>tabControl1.TabPages.Remove(...)
  </code></pre>
  
  <p>and </p>
  
  <pre><code>tabControl1.TabPages.Add(...)
  </code></pre>
  
  <p>It adds and removes the tabpages but doing so will loose my controls on tabpages too... i can't see them back. what's the problem here?</p>