예제 #1
0
 private void SetShortcuts(string cmdId, ShortcutManager shortcuts)
 {
     if (shortcuts != null)
     {
         this.Shortcut     = shortcuts[cmdId];
         this.ShowShortcut = shortcuts.IsDisplayed(cmdId);
     }
 }