Esempio n. 1
0
 public static TreeNode Process(TreeNode treeNode)
 {
     treeNode.CreateNodeList();
     switch(treeNode.Nodes.Count)
     {
         case 0:
             return null;
         case 1:
             var node = treeNode.Nodes[0];
             node.Text = treeNode.Text + " \\ " + node.Text;
             return Process(node);
     }
     return treeNode;
 }