Professional Documents
Culture Documents
d=3
End Sub
Double clicking on the Button “/”
Private sub Command 15-Click ()
a= Text 1. Text
Text1.Text =”/”
d=4
End Sub
Double clicking on the Button “Square”
Private sub Command 16-Click ()
a= Text 1. Text
Text1.Text =”*”
C=a*a
Text1.Text = c
End Sub
b = Text1.Text
Select case d%
Case 1: c= a + b
Text1.Text = c
Case 2: c = a - b
Text1.Text=c
Case 3: c= a * b
Text1.Text = c
Case 4: c= a / b
Text1.Text = c
End Select
End Sub