Exercise 3

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Exercise 3

Public Class Form1


Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
Application.Exit()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
Label1.Text = Val(TextBox1.Text) * Val(TextBox2.Text)
Label2.Text = Val(TextBox1.Text) + Val(TextBox2.Text)
End Sub
End Class

You might also like