Ejemplo n.º 1
0
        public override void CreateEngineInstance(bool bCreateChildren)
        {
            //   base.CreateEngineInstance(bCreateChildren);
            if (_engineInstance == null)
            {
                _engineInstance = new UIEngineInstancePushButton();
                SetEngineInstanceBaseProperties(); // sets the position etc.

                if (Parent is UIShapeDialog)
                {
                    ((UIShapeDialog)Parent).AddUIControlInstance(this);
                }

                UpdateProperties();
            }
        }
Ejemplo n.º 2
0
        public override void CreateEngineInstance(bool bCreateChildren)
        {
            //   base.CreateEngineInstance(bCreateChildren);
            if (_engineInstance == null)
            {
                _engineInstance = new UIEngineInstancePushButton();
                SetEngineInstanceBaseProperties(); // sets the position etc.

                if (Parent is UIShapeDialog)
                {
                    ((UIShapeDialog)Parent).AddUIControlInstance(this);
                }

                UpdateProperties();
            }
        }