For Check Boxes: "Arial" "Arial"
For Check Boxes: "Arial" "Arial"
End Sub
End Sub
End Class
For radio button
End Sub
Calculator
Dim op As String
Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Button1.Click
If Button1.Enabled = True And TextBox1.Text =
"" Then
TextBox1.Text = CInt(Button1.Text)
Else
TextBox1.Text = TextBox1.Text &
Button1.Text
End If
End Sub
TextBox1.Text = CInt(Button2.Text)
Else
TextBox1.Text = TextBox1.Text &
Button2.Text
End If
End Sub
TextBox1.Text = CInt(Button3.Text)
Else
TextBox1.Text = TextBox1.Text &
Button3.Text
End If
End Sub
Private Sub Button4_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Button4.Click
If Button4.Enabled = True And TextBox1.Text =
"" Then
TextBox1.Text = CInt(Button4.Text)
Else
TextBox1.Text = TextBox1.Text &
Button4.Text
End If
End Sub