I want to add a child to a treenode dynamically in the Run-Time
like a text parser........I want to add a child to anothor child..so forth
like this code...
treeNode x=new treeNode("x");
treeNode y=new treeNode("y",new treeNode[] {x});
treeView1.Nodes.Add(y);
...but what if the user inserted - in the run-time - three nodes
like this code
treeNode z=new treeNode("z")
treeNode x=new treeNode("x",new treeNode[] {z});
treeNode y=new treeNode("y",new treeNode[] {x});
treeView1.Nodes.Add(y);
so...what could I do to make that operation unlimited for many nodes inserted by user???!!!
I want to make children as much the user can insert
help me plz....