Exemplo n.º 1
0
 public static void ShowDialog(IWin32Window parent, ProjectDocument project, Difficulty difficulty)
 {
     using (var f = new FBuildBeatmap()) {
         f._project    = project;
         f._difficulty = difficulty;
         f.Localize(LanguageManager.Current);
         f.MonitorLocalizationChange();
         f.ShowDialog(parent);
         f.UnmonitorLocalizationChange();
     }
 }
 private void CmdToolsBuildBdb_Executed(object sender, ExecutedEventArgs e)
 {
     FBuildBeatmap.ShowDialog(this, visualizer.Editor.Project, Difficulty.Invalid);
 }
 private void CmdToolsExportCsv_Executed(object sender, ExecutedEventArgs e)
 {
     FBuildBeatmap.ShowDialog(this, visualizer.Editor.Project, visualizer.Editor.Difficulty);
 }