예제 #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;
            }
        }
예제 #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;
     }
 }