Hi,
can someone help, where am i going wrong, they're not working?
can someone help, where am i going wrong, they're not working?
Code:
Private Sub SelectPrograms_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.Control And e.KeyCode = Keys.S Then
If CheckBox1.Checked = True Then
CheckBox1.Checked = False
ElseIf CheckBox1.Checked = False Then
CheckBox1.Checked = True
End If
End If
If e.Control And e.KeyCode = Keys.P Then
CheckBox2.Checked = True
Seconds_Remain.Enabled = False
CheckBox2.Enabled = False
End If
If e.Control And e.KeyCode = Keys.I Then
Editor.Show()
CheckBox2.Checked = True
Seconds_Remain.Enabled = False
CheckBox2.Enabled = False
End If
End Sub