/// <summary> /// Imports the settings from a previous or pre-defined ISplitButton and applies it to the current /// </summary> /// <param name="Import">The ISplitButton to import the settings from</param> public void Apply(ISplitButton Import) { _borderTop = Import._borderTop; _borderBottom = Import._borderBottom; _borderAngle = Import._borderAngle; _borderBlend = Import._borderBlend; _hoverBackTop = Import._hoverBackTop; _hoverBackBottom = Import._hoverBackBottom; _clickBackTop = Import._clickBackTop; _clickBackBottom = Import._clickBackBottom; _backAngle = Import._backAngle; _backBlend = Import._backBlend; _blendRender = Import._blendRender; _curve = Import._curve; _arrowDisplay = Import._arrowDisplay; _arrowColor = Import._arrowColor; }
/// <summary> /// Creates a new EasyRender class for modifications /// </summary> public EasyRender() { _tsManager = new IToolstrip(); _btnManager = new IButton(); _dBtnManager = new IDropDownButton(); _tsCtrlManager = new IToolstripControls(); _pManager = new IPanel(); _sBtnManager = new ISplitButton(); _sBarManager = new IStatusBar(); _mnuManager = new IMenustrip(); }