public ApplicationBootstrapper(OutlookInterop.Application application, CustomTaskPaneCollection customTaskPaneCollection, RibbonCollectionBase thisRibbonCollection, FormRegionCollectionBase thisFormRegionCollection, MainAddInRibbon mainRibbon) { this.application = application; this.customTaskPaneCollection = customTaskPaneCollection; this.thisRibbonCollection = thisRibbonCollection; this.thisFormRegionCollection = thisFormRegionCollection; this.mainRibbon = mainRibbon; }
protected override Microsoft.Office.Core.IRibbonExtensibility CreateRibbonExtensibilityObject() { mainRibbon = new MainAddInRibbon(); return(Globals.Factory.GetRibbonFactory().CreateRibbonManager(new IRibbonExtension[] { mainRibbon })); }