private void recordToolStripMenuItem_Click(object sender, EventArgs e) { SequenceRecorder dlg = new SequenceRecorder(conductor, keyboard); dlg.ShowDialog(); if (dlg.DialogResult == DialogResult.OK) { conductor.Insert(dlg.getAudio(), dlg.getFrames()); } }