Professional Documents
Culture Documents
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
e As
e As
e As
e As
e As
e As
044
045
046
047
088
089
090
091
092
093
094
095
096
097
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
Case Is = 4
manswer = mfirst / msecond
End Select
txtNUMBER.Text = manswer
End Sub
Private Sub cmdMULTIPLY_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cmdMULTIPLY.Click
'User slected the multiply button
mbutton = 3
'Convert into a number and transfer the value from
'The text box on the form into the first number
mfirst = Val(txtNUMBER.Text)
txtNUMBER.Text = ""
End Sub
Private Sub cmdCLEAR_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cmdCLEAR.Click
mbutton = 0
txtNUMBER.Text = ""
manswer = Nothing
End Sub