Ejemplo n.º 1
0
 /// <summary>
 /// Imports the settings from a previous or pre-defined IMenustrip and applies it to the current
 /// </summary>
 /// <param name="Import">The IMenustrip to import the settings from</param>
 public void Apply(IMenustrip Import)
 {
     _menuBackInh = Import._menuBackInh;
     _menuBackTop = Import._menuBackTop;
     _menuBackBottom = Import._menuBackBottom;
     _menuBorderDark = Import._menuBorderDark;
     _menuBorderLight = Import._menuBorderLight;
     _menuBackBlend = Import._menuBackBlend;
     _buttons = Import._buttons;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates a new IMenustrip class for customization
        /// </summary>
        /// <param name="Import">The IMenustrip to import the settings from</param>
        public IMenustrip(IMenustrip Import)
        {
            _buttons = new IButton();

            DefaultBlending();

            Apply(Import);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Creates a new IToolstrip class for customization
        /// </summary>
        public IMenustrip()
        {
            _buttons = new IButton();

            DefaultBlending();
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Imports the settings from a previous or pre-defined IButton and applies it to the current
        /// </summary>
        /// <param name="Import">The IButton to import the settings from</param>
        public void Apply(IButton 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;
        }
Ejemplo n.º 5
0
        /// <summary>
        /// Creates a new IButton class for customization
        /// </summary>
        /// <param name="Import">The IButton to import the settings from</param>
        public IButton(IButton Import)
        {
            DefaultBlending();

            Apply(Import);
        }
Ejemplo n.º 6
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();
 }