Hello,
Can sombody tell me why the code is not working?
Thanks...
Can sombody tell me why the code is not working?
Thanks...
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
Dim CheckBox1 As Integer
If CheckBox1 = 0 Then
MsgBox("on")
If CheckBox1 = 1 Then
MsgBox("off")
End If
End If
End Sub
Last edited by a moderator: