/// <summary>
 /// Allocates the control its DirectX resources.
 /// </summary>
 public override void AllocResources()
 {
     base.AllocResources();
     _frameCounter = 0;
     _imageFocused.AllocResources();
     _imageNonFocused.AllocResources();
     _width               = _imageFocused.Width;
     _height              = _imageFocused.Height;
     _labelControl.Width  = _width;
     _labelControl.Height = _height;
     _labelControl.AllocResources();
     _spinControl.AllocResources();
 }
Beispiel #2
0
        public override void AllocResources()
        {
            if (null == _font)
            {
                return;
            }
            base.AllocResources();
            _upDownControl.AllocResources();

            _font = GUIFontManager.GetFont(_fontName);
            _upDownControl.WindowId = this._windowId;
            Calculate();
        }
 public override void AllocResources()
 {
     base.AllocResources();
     _spinControl.AllocResources();
 }