예제 #1
0
        protected override IRibbonExtension[] CreateRibbonObjects()
        {
            var allRibbons =
                new IRibbonExtension[2];

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