Пример #1
0
        public override void SelectPage(int pageIndex)
        {
            base.SelectPage(pageIndex);
            TreeNode node = Aside.GetTreeNode(pageIndex);

            if (node != null)
            {
                Aside.SelectedNode = node;
            }
        }
Пример #2
0
        public override bool SelectPage(int pageIndex)
        {
            bool     result = base.SelectPage(pageIndex);
            TreeNode node   = Aside.GetTreeNode(pageIndex);

            if (node != null)
            {
                Aside.SelectedNode = node;
            }
            return(result);
        }