Beispiel #1
0
 public SpectrogramForm(BeatmapEditor editor)
 {
     InitializeComponent();
     Editor = editor;
     Size   = new Size(Screen.PrimaryScreen.Bounds.Width, Size.Height);
     Editor.BeatmapModified += UpdateSpectrogram;
     Editor.BeatmapSwitched += UpdateSpectrogram;
     UpdateSpectrogram(this, EventArgs.Empty);
     Instance = this;
 }
Beispiel #2
0
 private void SpectrogramForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     Instance = null;
 }