public void OpenSettingDialog() { Application.Current.Dispatcher.Invoke(() => { SettingWindow sw = SingletonWindowOpener.Open <SettingWindow>(this, _settingsVM); }); }
public void OpenSettingDialog(string tabName = "general") { Application.Current.Dispatcher.Invoke(() => { SettingWindow sw = SingletonWindowOpener.Open <SettingWindow>(this, _settings); sw.SwitchTo(tabName); }); }
public void OpenSettingDialog(string tabName = "general") { Dispatcher.Invoke(new Action(() => { SettingWindow sw = SingletonWindowOpener.Open <SettingWindow>(this); sw.SwitchTo(tabName); })); }
private void AutoStartup() { if (_settings.StartWoxOnSystemStartup) { if (!SettingWindow.StartupSet()) { SettingWindow.SetStartup(); } } }
public CustomPluginHotkeySetting(SettingWindow settingWidow) { this.settingWidow = settingWidow; InitializeComponent(); }
public CustomQueryHotkeySetting(SettingWindow settingWidow, Settings settings) { _settingWidow = settingWidow; InitializeComponent(); _settings = settings; }
public CustomQueryHotkeySetting(SettingWindow settingWidow) { this.settingWidow = settingWidow; InitializeComponent(); }