title: Adding the same Panel to multiple TabPages
body: <p>In my <a href="https://stackoverflow.com/questions/2950321/adding-a-design-time-panel-to-a-tabpage-at-run-time">previous question</a> I could add a design time panel to a tab page at run time and my code looks like this and it works Ok.</p>
  
  <pre><code>        tabControl1.SuspendLayout();
          tabControl1.TabPages[0].Controls.Add(panel1);
          tabControl1.ResumeLayout();
  </code></pre>
  
  <p>but now I need to do something like this:</p>
  
  <pre><code>    tabControl1.SuspendLayout();
      tabControl1.TabPages[0].Controls.Add(panel1);
      tabControl1.TabPages[1].Controls.Add(panel1);
      tabControl1.TabPages[2].Controls.Add(panel1);
      tabControl1.ResumeLayout();
  </code></pre>
  
  <p>which just at run-time I can know how many of these Tabpages I will need. but now for testing I am assuming I will have three tabPages</p>
  
  <p><strong>the Problem</strong> is that the panel only gets added to the <strong>Last</strong> tabPage,
  How can I fix this? I want it get added to all of the tab pages
  Thanks.</p>