Root1 A B C D E Root2 F G . . .
TreeNode
Parent
null
private TreeNode FindRootNode(TreeNode treeNode) { while (treeNode.Parent != null) { treeNode = treeNode.Parent; } return treeNode; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)