Example #1
0
 public void ActivateTab()
 {
     if (ribbon != null)
     {
         ribbon.ActivateTab("SqlEngine");
     }
     In2SqlSvcTool.RunGarbageCollector();
 }
Example #2
0
 public void HideOrReveal(Office.IRibbonControl control)
 {
     settings.Ribbon_ShowDownsizerTab = !settings.Ribbon_ShowDownsizerTab;
     settings.Save();
     if (settings.Ribbon_ShowDownsizerTab)
     {
         ribbon.ActivateTab("TabDownsizer");
     }
 }
Example #3
0
        //Create callback methods here. For more information about adding callback methods, visit https://go.microsoft.com/fwlink/?LinkID=271226

        public void Ribbon_Load(Office.IRibbonUI ribbonUI)
        {
            this.ribbon = ribbonUI;
            ribbonUI.ActivateTab("TabMembers");
        }