Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- Dim tabpage As New TabPage
- tabpage.Text = "(empty)"
- Dim textbox1 As New TextBox
- Dim textbox2 As New TextBox
- textbox1.Parent = tabpage
- textbox2.Parent = tabpage
- textbox1.Location = New Point(10, 10)
- textbox2.Location = New Point(10, 30)
- textbox1.Name = "textbox1"
- textbox2.Name = "textbox2"
- TabControl1.TabPages.Add(tabpage)
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement