This Visual Basic code defines a form with three labels and a button. When the form loads, no action is taken. When the button is clicked, it sets the text of each label to a different string - Label1 to "Jacob Schantli", Label2 to "Surrey", and Label3 to "British Columbia".
This Visual Basic code defines a form with three labels and a button. When the form loads, no action is taken. When the button is clicked, it sets the text of each label to a different string - Label1 to "Jacob Schantli", Label2 to "Surrey", and Label3 to "British Columbia".
This Visual Basic code defines a form with three labels and a button. When the form loads, no action is taken. When the button is clicked, it sets the text of each label to a different string - Label1 to "Jacob Schantli", Label2 to "Surrey", and Label3 to "British Columbia".
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = "Jacob Schantli" Label2.Text = "Surrey" Label3.Text = "British Columbia" End Sub End Class