title: VB.Net My.Forms
body: <p>I have a small application, written in visual basic.</p>
  
  <p>I have 4 forms in the project, however when I try to access them using the My.Forms collection only 2 are displayed to select from? I also tried manually typing the name of one of the other forms that I need to access, but I get the error that the form <code>is not a member of 'MyProjects.MyForms'</code>.</p>
  
  <p>Do I need to add the other 2 forms to this collection? Shouldn't it happen automatically, as I didn't add the other 2?</p>
  
  <p>Thanks</p>
  
  <p>----EDIT----</p>
  
  <p>I think the issue is due to me renaming the forms incorrectly. Is there a way to manually edit the My.Forms collection without having to create the forms from scratch again?</p>
  
  <p>----EDIT----</p>
  
  <p>The issue comes from me passing variables to the sub new method:</p>
  
  <pre><code>Public Sub New(id As Int32)
  
          ' This call is required by the designer.
          InitializeComponent()
          MsgBox(id)
  
          ' Add any initialization after the InitializeComponent() call.
  
  End Sub
  </code></pre>
  
  <p>Am I declaring the variable wrong?</p>
  
  <p>Thanks</p>