title: vb.net 2008/2010 tabcontrol and code
body: <p>I am looking for a way to be able to use the tab control on my main form and transfer all 3 other forms onto that main form that has the tab control. Problem being is that some functions are named the same in each of the septate forms i want to bring into just one for the tab control.</p>
  
  <p>Is there a way to separate the code for each form ON the main form of the tab control so i don't have to rename/recode each of the 3 forms i want to place on the main form of the tab control?</p>
  
  <p>As an example:
  Form1 has a function called upDateMe()
  form2 has a function called upDateMe()</p>
  
  <p>So now the main form would look like this:</p>
  
  <pre><code>Friend Class frmPW
    Function sub upDateMe()
       blah blah
    End Function
  
    Function sub upDateMe()
       blah blah
    End Function
  </code></pre>
  
  <p>so when i put both form1 and form2 code on the main form where the tab control is, its going to tell me that i have a duplicate function name.</p>
  
  <p>Thanks for any help!</p>
  
  <p>David</p>