Ejemplo n.º 1
0
        private void toolStripButtonEffect_Click(object sender, EventArgs e)
        {
            EffectWizardDialog dialog = new EffectWizardDialog(m_ProjectLocation);

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                m_AssetsView.AddEffect(dialog.FileName, dialog.EffectName, dialog.IsEffectFromExist());
            }
        }
Ejemplo n.º 2
0
        public void AddEffect()
        {
            EffectWizardDialog dialog = new EffectWizardDialog(m_ProjectLocation);

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                AddEffect(dialog.FileName, dialog.EffectName,
                          dialog.CreateMaterial() ? dialog.MaterialName : string.Empty, dialog.IsEffectFromExist());
            }
        }