private Keys GetShortcutKeys(int commandCode) { var hotkey = GetHotkeyCommand(commandCode); return hotkey == null ? Keys.None : hotkey.KeyData; }