protected override IRibbonExtension[] CreateRibbonObjects() { var allRibbons = new IRibbonExtension[2]; allRibbons[0] = new MarkdownRibbon(); allRibbons[1] = new AppointmentRibbon(); return(allRibbons); }
private void ThisAddIn_Startup(object sender, System.EventArgs e) { markdownRibbon = Globals.Ribbons.GetRibbon<MarkdownRibbon>(); inspectors = this.Application.Inspectors; this.Application.ItemSend += Application_ItemSend; }