private void ServerConfig_Click(object sender, RoutedEventArgs e) { SettingsWindow settingsWindow = new SettingsWindow { Owner = this }; settingsWindow.Tabs.SelectedItem = (TabItem)settingsWindow.Tabs.FindName("Configuration"); settingsWindow.ShowDialog(); }
private void LaunchSettingsWindow(object sender, RoutedEventArgs e) { SettingsWindow settingsWindow = new SettingsWindow { Owner = this }; settingsWindow.ShowDialog(); }