Public Class Form1
Private Sub Form1_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
If (e.KeyValue = Keys.F1) Then
If (Timer1.Enabled = False) Then
Timer1.Enabled = True 'Timer1 启动
Else
Timer1.Enabled = False 'Timer1 关闭
End If
End If
End Sub
脱离VB执行视窗时
无法使用 键盘事件 使'Timer1 启动 或 关闭 (比如点到火狐)
问一下各位先进 有其 解决方法吗?