프로그래밍언어/VB.NET
핫키 설정하기
부산딸랑이
2013. 2. 14. 07:18
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Dim hotkey As Boolean
hotkey = GetAsyncKeyState(Keys.F1)
If hotkey = True Then
Button1.PerformClick()
End If
End Sub