public static void ShowSettings() { var settings = new Settings.SettingsWindow(); settings.Owner = Application.Current.MainWindow; settings.ShowDialog(); App.RefreshAttentionPatterns(); }