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