Exemple #1
0
        protected override IRibbonExtension[] CreateRibbonObjects()
        {
            if (_ribbon == null)
            {
                _ribbon                     = new DaxStudioRibbon();
                _ribbon.btnDax.Tag          = _debugLogEnabled;
                _ribbon.DebugLoggingEnabled = _debugLogEnabled;
            }
            return(new IRibbonExtension[] { this._ribbon });

            //return base.CreateRibbonObjects();
        }
Exemple #2
0
 protected override Microsoft.Office.Tools.Ribbon.IRibbonExtension[] CreateRibbonObjects()
 {
     this._ribbon = new DaxStudioRibbon();
     return(new IRibbonExtension[] { this._ribbon });
     //return base.CreateRibbonObjects();
 }
Exemple #3
0
 protected override Microsoft.Office.Tools.Ribbon.IRibbonExtension[] CreateRibbonObjects()
 {
     this._ribbon = new DaxStudioRibbon();
     return new IRibbonExtension[] {this._ribbon};
     //return base.CreateRibbonObjects();
 }