示例#1
0
        /// ------------------------------------------------------------------------------------
        protected bool OnUpdateGroupByFieldParent(object args)
        {
            var itemProps = args as TMItemProperties;

            if (!m_activeView || itemProps == null || itemProps.Name.StartsWith("tbb", StringComparison.Ordinal))
            {
                return(false);
            }

            WordListGrid.BuildGroupByMenu(itemProps.Name, App.TMAdapter);
            return(true);
        }
示例#2
0
        /// ------------------------------------------------------------------------------------
        protected bool OnDropDownGroupByFieldParent(object args)
        {
            var itemProps = args as ToolBarPopupInfo;

            if (itemProps == null || !m_activeView)
            {
                return(false);
            }

            WordListGrid.BuildGroupByMenu(itemProps.Name, m_tmAdapter);
            return(true);
        }