protected override void RefreshTree()
        {
            base.RefreshTree();

            if (CubeInfo != null)
            {
                //// Будем выводить информацию для всего куба
                //m_CubeNode = new CubeTreeNode(CubeInfo);
                //m_CubeNode.MouseDoubleClick += new EventHandler<CustomEventArgs<CustomTreeNode>>(TreeNode_MouseDoubleClick);
                //AllowDragDrop(m_CubeNode);
                //Tree.Items.Add(m_CubeNode);

                // Добавляем узел KPIs
                KPIsFolderTreeNode kpisNode = new KPIsFolderTreeNode();
                kpisNode.MouseDoubleClick += new EventHandler <CustomEventArgs <CustomTreeNode> >(TreeNode_MouseDoubleClick);
                //m_CubeNode.Items.Add(kpisNode);
                Tree.Items.Add(kpisNode);
                CreateKPIs(kpisNode, CubeInfo, true);

                // Добавляем узел Measures
                m_Measures_Node = new MeasuresFolderTreeNode();
                m_Measures_Node.MouseDoubleClick += new EventHandler <CustomEventArgs <CustomTreeNode> >(TreeNode_MouseDoubleClick);
                m_Measures_Node.Text              = "Measures";
                //m_CubeNode.Items.Add(m_Measures_Node);
                Tree.Items.Add(m_Measures_Node);
                m_Measures_Node.Icon = UriResources.Images.Measure16;
                CreateMeasures(m_Measures_Node, CubeInfo);

                // Добавляем узел NamedSets
                m_Sets_Node = new FolderTreeNode();
                m_Sets_Node.MouseDoubleClick += new EventHandler <CustomEventArgs <CustomTreeNode> >(TreeNode_MouseDoubleClick);
                m_Sets_Node.Text              = "Sets";
                if (m_Sets_Node != null)
                {
                    m_NamedSetFolderNodes["Sets"] = m_Sets_Node;
                }
                //m_CubeNode.Items.Add(m_Sets_Node);
                Tree.Items.Add(m_Sets_Node);
                CreateNamedSets(m_Sets_Node, CubeInfo);

                // Добавляем узел Calculations
                m_CustomCalculations_Node = new FolderTreeNode(UriResources.Images.CustomCalculations16, UriResources.Images.CustomCalculations16);
                m_CustomCalculations_Node.MouseDoubleClick += new EventHandler <CustomEventArgs <CustomTreeNode> >(TreeNode_MouseDoubleClick);
                m_CustomCalculations_Node.Text              = Localization.MdxDesigner_Calculations;
                if (m_CubeNode != null)
                {
                    m_CubeNode.Items.Add(m_CustomCalculations_Node);
                }
                else
                {
                    Tree.Items.Add(m_CustomCalculations_Node);
                }
                CreateCalculations(m_CustomCalculations_Node);

                // Создаем измерения
                CreateDimensions(m_CubeNode, CubeInfo, true);

                //m_CubeNode.IsExpanded = true;
            }
        }
        protected override void RefreshTree()
        {
            base.RefreshTree();

            // Добавляем узел KPIs
            KPIsFolderTreeNode kpisNode = new KPIsFolderTreeNode();

            kpisNode.MouseDoubleClick += new EventHandler <CustomEventArgs <CustomTreeNode> >(TreeNode_MouseDoubleClick);
            Tree.Items.Add(kpisNode);

            // Для варианта выбора KPI (OlapBrowserContentTypes.Kpis) Value, Goal, Status, Trend не отображаются
            CreateKPIs(kpisNode, CubeInfo, false);
            kpisNode.IsExpanded = true;
        }