Beispiel #1
0
 public MultiKeyboardShortcut(XmlKeyStroke stroke, Action action)
 {
     KeyStrokes = stroke.GetKeyStrokes();
     Action     = action;
     CheckMode  = stroke.CheckMode;
 }
Beispiel #2
0
 public KeyboardShortcut(XmlKeyStroke keyStroke, Action action)
 {
     KeyStroke = keyStroke.GetKeyStrokes().FirstOrDefault();
     Action    = action;
     CheckMode = keyStroke.CheckMode;
 }