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(); } }
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(); } }