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