title: Calling a form fails to initialize components - Visual Basic
body: <p>I'm having difficulty with a form in a Visual Basic forms application inside Visual Studio 2015.  I'm attempting to show the EditSeries form while passing a variable to it.  Here's the code:</p>
  
  <pre><code>    Private Sub btnEditSeries_Click(sender As Object, e As EventArgs) Handles btnEditSeries.Click
      Dim frm As EditSeries
      frm = New EditSeries(SeriesID)
      frm.SeriesID = SeriesID
      frm.Show()
  End Sub
  </code></pre>
  
  <p>When I run the program in Debug mode, clicking on the EditSeries button produces a blank form with no controls or customization.  The person who is helping me learn coding (who has been coding for 20 years) is just as baffled; he suggested deleting and recreating the form, suspecting a break between the three core files that make up a form in Visual Studio.  I did that, but the behavior persists.</p>
  
  <p>I have not been able to locate any references to this issue on the Internet, and I'm including screenshots of the blank form at run-time as well as a Design view of what it should look like.</p>
  
  <p><a href="https://i.stack.imgur.com/mQDI0.png" rel="nofollow noreferrer">How The Form Should Look</a></p>
  
  <p><a href="https://i.stack.imgur.com/BAboJ.png" rel="nofollow noreferrer">Blank Form At Run-time</a></p>
  
  <p>I first put the code to populate the data from the SQL Database in the "Form_Load" section, but that only produced a Null Reference Exception.  Moving the code to a button click allowed the blank form to show.</p>
  
  <p>The goal is to pass a variable's value from the All Series form (seen in the background of the pic with the blank form) to the EditSeries form that will allow code to pull one, specific series's data from the database for editing purposes.</p>
  
  <p>My thanks for your time and assistance!</p>