public ZoomManager(RibbonControl ribbon, ModulesNavigator modulesNavigator, BarEditItem beItem) { this.ribbon = ribbon; this.modulesNavigator = modulesNavigator; this.beiZoom = beItem; this.beiZoom.HiddenEditor += new DevExpress.XtraBars.ItemClickEventHandler(this.beiZoom_HiddenEditor); this.beiZoom.ShownEditor += new DevExpress.XtraBars.ItemClickEventHandler(this.beiZoom_ShownEditor); }
public frmMain() { TaskbarHelper.InitDemoJumpList(TaskbarAssistant.Default, this); InitializeComponent(); RibbonButtonsInitialize(); modulesNavigator = new ModulesNavigator(ribbonControl1, pcMain); zoomManager = new ZoomManager(ribbonControl1, modulesNavigator, beiZoom); InitNavBarItemLinks(); NavigationInitialize(); SetPageLayoutStyle(); guideGenerator = new GuideGenerator(); guideGenerator.CreateWhatsThisItem(ribbonControl1, () => { return(this); }); }