예제 #1
0
 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;
 }
예제 #2
0
 protected override Microsoft.Office.Core.IRibbonExtensibility CreateRibbonExtensibilityObject()
 {
     mainRibbon = new MainAddInRibbon();
     return(Globals.Factory.GetRibbonFactory().CreateRibbonManager(new IRibbonExtension[] { mainRibbon }));
 }