Global Değişkenimiz ;
Timer1 Kodları;
Button1 Kodları;
Form1_Load Kodları;
1
|
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Integer) as Short
|
1
2
3
4
5
|
If(GetAsyncKeyState(65)) Then
log = log + "A"
ElseIf(GetAsyncKeyState(66)) Then
log = log + "B"
End If
|
1
|
RichTextBox1.Text = log
|
1
|
Timer1.Enabled = True
|
0 yorum:
Yorum Gönder