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

            sfe.Init(this.Icon, 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();
            }
        }
        private void buttonExtEffects_Click(object sender, EventArgs e)
        {
            SoundEffectsDialog sfe = new SoundEffectsDialog();

            sfe.Init(this.Icon, 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();
            }
        }