コード例 #1
0
 public MouseInputEvent(EventPropagator source, InputEventType type, KeyboardModifiers modifiers, bool isFocused, UIElement element)
 {
     this.source    = source;
     this.type      = type;
     this.modifiers = modifiers;
     this.element   = element;
 }
コード例 #2
0
 public KeyboardInputEvent(EventPropagator source, InputEventType type, KeyCode keyCode, char character, KeyboardModifiers modifiers, bool isFocused)
 {
     this.source    = source;
     this.eventType = type;
     this.keyCode   = keyCode;
     this.modifiers = modifiers;
     this.character = character;
     this.isFocused = isFocused;
 }