/// <summary> /// Вызывается при нажатии клавиши на контроле. /// </summary> private void BindedModelOnPressKey(object sender, PressKeyEventArgs pressKeyEventArgs) { if (pressKeyEventArgs.Key == Key.Enter) { _tabControlManager.Next(); } //if }
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); } }