Exemplo n.º 1
0
 public void m_oGTCustomCommandHelper_KeyUp(object sender, GTKeyEventArgs e)
 {
     if (e.KeyCode == 27)
     {
         ExitCommand();
     }
 }
Exemplo n.º 2
0
 private void m_oGTCustomCommandHelper_KeyUp(object sender, GTKeyEventArgs e)
 {
     if ((Keys)e.KeyCode == Keys.Escape)
     {
         m_oGTTransactionManager.Rollback();
         ExitCommand();
     }
 }
Exemplo n.º 3
0
 private void keyUp(object sender, GTKeyEventArgs e)
 {
     if (e.KeyCode == (short)ConsoleKey.Escape)
     {
         featurePlacementService.CancelPlacement();
         gtTransactionManager.Rollback();
         customCommandHelper.Complete();
     }
 }