Пример #1
0
 void IHandleKeyboardPressed.OnKeyboardPressed(object sender, KeyboardEventArgs args)
 {
     if (args.Handled) return;
     args.Handled = _handleKeypress(args.Key, args.IsShiftPressed);
 }
Пример #2
0
 void IHandleKeyboardReleased.OnKeyboardReleased(object sender, KeyboardEventArgs args)
 {
     if (args.Handled || _controlLayers.Count == 0) return;
     //throw new NotImplementedException();
 }