Forms.Control.ControlCollection 類別會取代Visual Basic 6.0 的Controls 集合。 ... Name = "TextBox1" ' Add the new control to the form's Controls collection. Me.
msdn.microsoft.com