Ejemplo n.º 1
0
        //Create ribbon tab by given name
        private RibbonTab CreateRibbonTab(string tabTitle)
        {
            if (ControlledApplication != null)
            {
                ControlledApplication.CreateRibbonTab(tabTitle);
            }
            else
            {
                _uiapp.CreateRibbonTab(tabTitle);
            }

            return(_ribbonControl.FindTabByTitle(tabTitle));
        }