private void btnAnalyzer_Click(object sender, EventArgs e) { var newAnalyzer = new SongAnalyzer(midifile) { ExitonClose = true }; newAnalyzer.Show(); Hide(); }
private void SendToSongAnalyzer_Click(object sender, EventArgs e) { var handler = new SongAnalyzer(lstSongs.SelectedItems[0].SubItems[2].Text); handler.Show(); }