Public Class Form1 Inherits System.Windows.Forms.Form
Private Sub Form1_Load(ByVal sender As System.Object, _
ByValue As System.EventArgs) _
Handles MyBase.Load
Dim TextBox1 as New TextBox()
With TextBox1
.Text = "Hello World..."
.Location = New Point(100,50)
.Size = New Size(75,23)
End With
Me.Controls.Add(TextBox1)
End Sub
End Class
No comments:
Post a Comment