Esempio n. 1
0
        private void buttonExtEffects_Click(object sender, EventArgs e)
        {
            SoundEffectsDialog sfe = new SoundEffectsDialog();

            sfe.Init(effects, textBoxBorderText.Visible);           // give them the none option ONLY if we are allowing text
            sfe.TestSettingEvent     += Sfe_TestSettingEvent;       // callback to say test
            sfe.StopTestSettingEvent += Sfe_StopTestSettingEvent;   // callback to say stop
            if (sfe.ShowDialog(this) == DialogResult.OK)
            {
                effects = sfe.GetEffects();
            }
        }
Esempio n. 2
0
        private void buttonExtEffects_Click(object sender, EventArgs e)
        {
            SoundEffectsDialog sfe = new SoundEffectsDialog();

            sfe.Init(effects, true);
            sfe.TestSettingEvent     += Sfe_TestSettingEvent;       // callback to say test
            sfe.StopTestSettingEvent += Sfe_StopTestSettingEvent;   // callback to say stop
            if (sfe.ShowDialog(this) == DialogResult.OK)
            {
                effects = sfe.GetEffects();
            }
        }