Esempio n. 1
0
 /// <summary>
 /// Вызывается при нажатии клавиши на контроле.
 /// </summary>
 private void BindedModelOnPressKey(object sender, PressKeyEventArgs pressKeyEventArgs)
 {
     if (pressKeyEventArgs.Key == Key.Enter)
     {
         _tabControlManager.Next();
     } //if
 }
Esempio n. 2
0
 public void OnKeyNotPressed(object source, PressKeyEventArgs args)
 {
     if (args.ActualKey != ' ')
     {
         _score--;
     }
 }
 private void NameBoxOnPressKey(object sender, PressKeyEventArgs pressKeyEventArgs)
 {
     if (pressKeyEventArgs.Key == Key.Enter)
     {
         StartUpdateOrderList(1);
     }
 }