Advertisement
jsauto

Untitled

Apr 10th, 2013
2,614
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.39 KB | None | 0 0
  1. Public Class Form1
  2.     Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
  3.         Dim dynamicButton As New Button()
  4.         dynamicButton.Name = "dynamicButton"
  5.         dynamicButton.Text = "CLICK"
  6.         dynamicButton.Font = New Font("Georgia", 16)
  7.         dynamicButton.Location = New Point(60, 150)
  8.         Me.Controls.Add(dynamicButton)
  9. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement