TreeView获取子节点

1             if (e.Node.Parent!=null)//如果存在父节点
2             {
3                 MessageBox.Show(e.Node.Text);//就显示当前选中的
4             }

 

posted @ 2014-08-02 10:59  帅的惊动党中央  阅读(1043)  评论(0)    收藏  举报