private void AddGroupToModulesBar(MenuElementGroup moduleMenu) { moduleMenu.AddTo(_modulesBar); }
private void AddToTopMenu(MenuElementGroup topMenu) { topMenu.AddTo(_topMenu); }
public void Setup() { _menuItem1 = NewMenuElement(Option1Caption, Option1Tooltip, Option1Glyph); _menuItem2 = NewMenuElement(Option2Caption, Option2Tooltip, Option2Glyph); _options = new[] { _menuItem1.Object, _menuItem2.Object }; _menuGroup = new MenuElementGroup { Caption = GroupCaption, Glyph = GroupGlyph, Tooltip = GroupTooltip, Options = _options }; _navBar = new ExNavigationBar(); _menuStrip = new MenuStrip(); }