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

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

            return base.RequestService(serviceGuid);
        }