示例#1
0
 private void FormINICIO_KeyDown(object sender, KeyEventArgs e)
 {
     switch (e.KeyCode)
     {
     case Keys.Escape:
         e.SuppressKeyPress = true;
         Cmd_Salir.PerformClick();
         break;
     }
 }