private void optionsToolStripMenuItem_Click(object sender, EventArgs e) { FormOptionsDialog form = new FormOptionsDialog(); if (form.ShowDialog() == DialogResult.OK) { _audioFrame.IsDetectingEvents = form.IsDetectingEvents; _audioFrame.AmplitudeThreshold = form.AmplitudeThreshold; } }