private void button_EnterNote_Click(object sender, EventArgs e) { if (originalNameBase != null) { RecordingNote rc = new RecordingNote(originalNameBase); rc.ShowDialog(); } else { MessageBox.Show("Please enter a filename to use this feature"); } }