public static void ShowDialog(IWin32Window parent, ProjectDocument project)
 {
     using (var f = new FBeatmapStats()) {
         f._project = project;
         f.Localize(LanguageManager.Current);
         f.MonitorLocalizationChange();
         f.ShowDialog(parent);
         f.UnmonitorLocalizationChange();
     }
 }
Beispiel #2
0
        private void CmdProjectBeatmapStats_Executed(object sender, ExecutedEventArgs e)
        {
            var project = visualizer.Editor.Project;

            FBeatmapStats.ShowDialog(this, project);
        }