title: I want to add a new label to a form using vb.net
body: <p>The code that I am using below does not work, I am fairly experienced with vb.net and have never run into this issue before, the label simply doesn't appear when the form loads (the code is inside the Load event handler procedure).</p>
  
  <pre><code>Dim currentUserLabel As New Label 
      With {.Text = "Logged in as: " + firstName + " " + _ lastName, 
      .Location = New Point(5, 3), .Font = New Font("Microsoft Sans Serif", 
      18, FontStyle.Bold)}
  MenuTab.Controls.Add(currentUserLabel)
  currentUserLabel.AutoSize = True
  currentUserLabel.BringToFront()
  MenuTab.Refresh()
  </code></pre>