public void CloseQuery(QueryTab tabQuery)
        {
            if (tabQuery == null) return;
            if (tabQuery.Parent == null && !(tabQuery.Parent is TabItem)) return;

            this.Items.Remove(tabQuery.Parent);
        }
示例#2
0
        public void CloseQuery(QueryTab tabQuery)
        {
            if (tabQuery == null)
            {
                return;
            }
            if (tabQuery.Parent == null && !(tabQuery.Parent is TabItem))
            {
                return;
            }

            this.Items.Remove(tabQuery.Parent);
        }