Пример #1
0
        public override void CreateEngineInstance(bool bCreateChildren)
        {
            //base.CreateEngineInstance(bCreateChildren);
            if (_engineInstance == null)
            {
                _engineInstance = new UIEngineInstanceTextLabel();
                SetEngineInstanceBaseProperties(); // sets the position etc.

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

                UpdateProperties();
            }
        }
Пример #2
0
        public override void CreateEngineInstance(bool bCreateChildren)
        {
            //base.CreateEngineInstance(bCreateChildren);
            if (_engineInstance == null)
            {
                _engineInstance = new UIEngineInstanceTextLabel();
                SetEngineInstanceBaseProperties(); // sets the position etc.

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

                UpdateProperties();
            }
        }