Пример #1
0
        private void NewHotkey()
        {
            HotkeyEditorModel hotkeyEditor = new HotkeyEditorModel();
            Hotkey            newHotkey    = hotkeyEditor.EditValue(context: null, provider: null, value: null) as Hotkey;

            if (newHotkey != null)
            {
                this.InputCorrelator.HotKeys.Add(newHotkey);
                this.RaisePropertyChanged(nameof(this.Hotkeys));
            }
        }
Пример #2
0
        private void NewHotkey()
        {
            HotkeyEditorModel hotkeyEditor = new HotkeyEditorModel();

            /*Hotkey newHotkey = hotkeyEditor.EditValue(context: null, provider: null, value: null) as Hotkey;
             *
             * if (newHotkey != null)
             * {
             *  throw new NotImplementedException();
             *  ////this.InputCorrelator.HotKeys.Add(newHotkey);
             *  this.RaisePropertyChanged(nameof(this.Hotkeys));
             * }*/
        }