Exemplo n.º 1
0
        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;
            }
        }
Exemplo n.º 2
0
 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;
     }
 }