public override void SelectPage(int pageIndex) { base.SelectPage(pageIndex); TreeNode node = Aside.GetTreeNode(pageIndex); if (node != null) { Aside.SelectedNode = node; } }
public override bool SelectPage(int pageIndex) { bool result = base.SelectPage(pageIndex); TreeNode node = Aside.GetTreeNode(pageIndex); if (node != null) { Aside.SelectedNode = node; } return(result); }