Example #1
0
 public void OpenSettingDialog()
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         SettingWindow sw = SingletonWindowOpener.Open <SettingWindow>(this, _settingsVM);
     });
 }
Example #2
0
 public void OpenSettingDialog(string tabName = "general")
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         SettingWindow sw = SingletonWindowOpener.Open <SettingWindow>(this, _settings);
         sw.SwitchTo(tabName);
     });
 }
Example #3
0
 public void OpenSettingDialog(string tabName = "general")
 {
     Dispatcher.Invoke(new Action(() =>
     {
         SettingWindow sw = SingletonWindowOpener.Open <SettingWindow>(this);
         sw.SwitchTo(tabName);
     }));
 }
Example #4
0
 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, Settings settings)
 {
     _settingWidow = settingWidow;
     InitializeComponent();
     _settings = settings;
 }
 public CustomQueryHotkeySetting(SettingWindow settingWidow)
 {
     this.settingWidow = settingWidow;
     InitializeComponent();
 }