private void stop_recordButton_Click(object sender, EventArgs e) { changeButtonsStatus(false); if (new_record != null) { new_record.stopRecording(); add_effect = new AddEffectForm(selectRecordFolderDialog.SelectedPath + "\\" + recordNameTextBox.Text); add_effect.Show(); } }
private void bnt_open_file_Click(object sender, EventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ofd.Filter = "WAV files (*.wav)|*.wav|All files (*.*)|*.*"; if (ofd.ShowDialog() == DialogResult.OK) { AddEffectForm form = new AddEffectForm(ofd.FileName); form.Show(); } }