Пример #1
0
        /// <summary>
        /// Imports the settings from a previous or pre-defined IToolstripControls and applies it to the current
        /// </summary>
        /// <param name="Import">The IToolstripControls to import the settings from</param>
        public void Apply(IToolstripControls Import)
        {
            _sepDark = Import._sepDark;
            _sepLight = Import._sepLight;
            _sepHeight = Import._sepHeight;

            _gripTop = Import._gripTop;
            _gripBottom = Import._gripBottom;
            _gripDistance = Import._gripDistance;
            _gripStyle = Import._gripStyle;
            _gripSize = Import._gripSize;
        }
Пример #2
0
 /// <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();
 }