Esempio n. 1
0
 public override bool Setup()
 {
     DummyLightingSetup setup = new DummyLightingSetup(_form.renderingStyle, _form.Text);
     DialogResult result = setup.ShowDialog();
     if(result == DialogResult.OK) {
         _data.RenderStyle = setup.RenderStyle;
         _form.renderingStyle = setup.RenderStyle;
         _data.FormTitle = setup.FormTitle;
         _form.Text = setup.FormTitle;
         _SetDataPolicy();
         return true;
     }
     return false;
 }
Esempio n. 2
0
        public override bool Setup()
        {
            DummyLightingSetup setup  = new DummyLightingSetup(_form.renderingStyle, _form.Text);
            DialogResult       result = setup.ShowDialog();

            if (result == DialogResult.OK)
            {
                _data.RenderStyle    = setup.RenderStyle;
                _form.renderingStyle = setup.RenderStyle;
                _data.FormTitle      = setup.FormTitle;
                _form.Text           = setup.FormTitle;
                _SetDataPolicy();
                return(true);
            }
            return(false);
        }