コード例 #1
0
 public HotKeyPresenter(IHotKeyDispatcherView view)
 {
     _handlerView = view;
     _handlerView.RegisterHotKey += OnRegisterHotKey;
     _handlerView.UnregisterHotKey += OnUnregisterHotKey;
     _handlerView.SetActionsInfos(_dispatcher.ActionsInformation);
 }
コード例 #2
0
        public HotKeyDispatcherPresenter(IHotKeyDispatcherView view)
        {
            _view = view;
            _view.RegisterHotKey += OnRegisterHotKey;
            _view.UnregisterHotKey += OnUnregisterHotKey;
            _view.HotKeySelected += OnHotKeySelected;

            _view.SetActionsInfos(_model.ActionsInformation);
            _view.SetRegisteredKeyCombinationsList(_model.RegisteredKeyCombinations);
        }