public void ShowSettingsWindow(AppSettingsWindow.SettingTab defaultTab = AppSettingsWindow.SettingTab.LddPaths) { using (var dlg = new AppSettingsWindow()) { dlg.StartupTab = defaultTab; dlg.ShowDialog(); } UpdateMenuItemStates(); }
public void ShowSettingsWindow(AppSettingsWindow.SettingTab defaultTab = AppSettingsWindow.SettingTab.LddEnvironment) { using (var dlg = new AppSettingsWindow()) { dlg.StartupTab = defaultTab; dlg.ShowDialog(); } UpdateMenuItemStates(); RebuildLayoutMenu(); LoadAndValidateSettings(); }