Exemplo n.º 1
0
 private void PaintFormControlsCollection_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Left)
     {
         LeftButton.PerformClick();
     }
     if (e.KeyCode == Keys.Right)
     {
         RightButton.PerformClick();
     }
 }