public Hotkeys Execute() { var hotkeys = new Hotkeys(null); var window = new KeyboardShortcut(hotkeys); window.ShowDialog(); return hotkeys; }
private void HandleHotkeysChanged(Hotkeys hotkeys) { UnregisterHotkeys(); displayHotkey = hotkeys.DisplayHotKey; RegisterEvents(); }