private void buttonSetupEffect_Click(object sender, EventArgs e) { using (EffectParameterSetup effectParameterSetup = new EffectParameterSetup(_SelectedEffectDescriptor, _SelectedEffect)) { if (effectParameterSetup.ShowDialog() == DialogResult.OK) { _SelectedEffect = effectParameterSetup.Effect; } } }
private void buttonSetupEffect_Click(object sender, EventArgs e) { using(EffectParameterSetup effectParameterSetup = new EffectParameterSetup(_SelectedEffectDescriptor, _SelectedEffect)) { if(effectParameterSetup.ShowDialog() == DialogResult.OK) { _SelectedEffect = effectParameterSetup.Effect; } } }