Beispiel #1
0
 private void Form1_KeyUp(object sender, KeyEventArgs e)
 {
     UserInput.ChangeState(e.KeyCode, false);
 }
Beispiel #2
0
 private void Form1_KeyDown(object sender, KeyEventArgs e)
 {
     UserInput.ChangeState(e.KeyCode, true);
 }