Пример #1
0
 private void Form1_KeyUp(object sender, KeyEventArgs e)
 {
     Inputs.ChangeState(e.KeyCode, false);
 }
Пример #2
0
 private void Form1_KeyDown(object sender, KeyEventArgs e)
 {
     Inputs.ChangeState(e.KeyCode, true);
 }