title: Dynamic controls not rendering in WinForm
body: <p>I'm trying to create a list of labels and textboxes. No errors but they aren't rendering on the form. I have confirmed my loop have values</p>
  
  <pre><code>Private Sub AddLabels_Load(sender As Object, e As EventArgs) Handles MyBase.Load
      'MsgBox(strNumberOfLabels + " " + strOrderNum)
      TableLayoutPanel1.AutoSize = True
      TableLayoutPanel1.Visible = False
      TableLayoutPanel1.SuspendLayout()
      For i As Integer = 0 To strNumberOfLabels
  
          'MsgBox(i)
          Dim txtBox As New TextBox
          Dim txtLabel As New Label
          txtLabel.Text = "Label " + i
          txtBox.Name = "txt" + i
          TableLayoutPanel1.Controls.Add(txtLabel)
          txtLabel.Show()
          txtBox.Show()
          TableLayoutPanel1.ResumeLayout()
          TableLayoutPanel1.Visible = True
      Next
  End Sub
  </code></pre>