internal override void SetOwner(Ribbon owner) { base.SetOwner(owner); _buttons.SetOwner(owner); _dropDownItems.SetOwner(owner); }
internal override void SetOwner(Ribbon owner) { base.SetOwner(owner); if (_dropDownItems != null) { _dropDownItems.SetOwner(owner); } }
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; }