}                                                                                                                     //mxd

        public static int BrowseEffect(IWin32Window owner, int effect, bool addanyeffect)
        {
            EffectBrowserForm f = new EffectBrowserForm(effect, addanyeffect);

            if (f.ShowDialog(owner) == DialogResult.OK)
            {
                effect = f.SelectedEffect;
            }
            f.Dispose();
            return(effect);
        }
Exemple #2
0
 // Browse Effect clicked
 private void browseeffect_Click(object sender, EventArgs e)
 {
     effect.Value = EffectBrowserForm.BrowseEffect(this, effect.Value);
 }