Exemple #1
0
 public void OpenSettingDialog()
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         SettingWindow sw = SingletonWindowOpener.Open <SettingWindow>(this, _settingsViewModel);
     });
 }
Exemple #2
0
 public void OpenSettingDialog(string tabName = "general")
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         SettingWindow sw = SingletonWindowOpener.Open <SettingWindow>(this, _settings);
         sw.SwitchTo(tabName);
     });
 }
Exemple #3
0
 public void OpenSettingDialog(string tabName = "general")
 {
     Dispatcher.Invoke(new Action(() =>
     {
         SettingWindow sw = SingletonWindowOpener.Open <SettingWindow>(this);
         sw.SwitchTo(tabName);
     }));
 }