private void AboutSwitch_Click(object sender, RoutedEventArgs e) { var window = new AboutBoxWindow(); window.Owner = this; window.ShowDialog(); }