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