コード例 #1
0
 private void ServerConfig_Click(object sender, RoutedEventArgs e)
 {
     SettingsWindow settingsWindow = new SettingsWindow { Owner = this };
     settingsWindow.Tabs.SelectedItem = (TabItem)settingsWindow.Tabs.FindName("Configuration");
     settingsWindow.ShowDialog();
 }
コード例 #2
0
 private void LaunchSettingsWindow(object sender, RoutedEventArgs e)
 {
     SettingsWindow settingsWindow = new SettingsWindow { Owner = this };
     settingsWindow.ShowDialog();
 }