public override void LoadControl(MenuItemBase btn, object parent) { _Parent = parent; BarGroup menuToLoad = (BarGroup)btn; _Menu = menuToLoad.Clone <Fwk.UI.Controls.Menu.BarGroup>(); _MenuOriginal = menuToLoad; menuBindingSource.DataSource = _Menu; menuBindingSource.ResetBindings(false); }
public void Map(BarGroup pBarGroup) { this.Index = pBarGroup.Index; this.GroupStyle = pBarGroup.GroupStyle; base.Map(pBarGroup); }