protected override object RequestService(Guid serviceGuid) { if (serviceGuid == typeof(Office.IRibbonExtensibility).GUID) { if (ribbon == null) { ribbon = new Ribbon1(); } return(ribbon); } return(base.RequestService(serviceGuid)); }
protected override object RequestService(Guid serviceGuid) { if (serviceGuid == typeof(Office.IRibbonExtensibility).GUID) { if (ribbon == null) ribbon = new Ribbon1(); return ribbon; } return base.RequestService(serviceGuid); }