コード例 #1
0
        internal override void SetOwner(Ribbon owner)
        {
            base.SetOwner(owner);

            _buttons.SetOwner(owner);
            _dropDownItems.SetOwner(owner);
        }
コード例 #2
0
        internal override void SetOwner(Ribbon owner)
        {
            base.SetOwner(owner);

            if (_dropDownItems != null)
            {
                _dropDownItems.SetOwner(owner);
            }
        }
コード例 #3
0
        internal RibbonOrbDropDown(Ribbon ribbon)
            : base()
        {
            DoubleBuffered = true;
            _ribbon        = ribbon;
            _menuItems     = new RibbonItemCollection();
            _recentItems   = new RibbonItemCollection();
            _optionItems   = new RibbonItemCollection();

            _menuItems.SetOwner(Ribbon);
            _recentItems.SetOwner(Ribbon);
            _optionItems.SetOwner(Ribbon);

            _optionsPadding = 6;
            Size            = new System.Drawing.Size(527, 447);
            BorderRoundness = 8;
        }