TiltingCode
Programmer
I have a form where I have a treeview control.
I have classes in that project where I want to change the text of a node in that form. Apparently I have to use get\set and I've spent way too many hours trying to figure this out.
Code in the form:
Eventually I will be doing work in a class which dictates I have to change the text in a node. Please tell me how to do that?
I have classes in that project where I want to change the text of a node in that form. Apparently I have to use get\set and I've spent way too many hours trying to figure this out.
Code in the form:
Code:
TreeNode JobNode = new TreeNode();
[COLOR=red]// Bunch of loop code here[/color]
JobNode = tvwCompose.Nodes.Add(strParentText);
[COLOR=red]// Bunch of additional code here where I do an inner loop where I will be creating child nodes:[/color]
JobNode.Nodes.Add(strChildText);
Eventually I will be doing work in a class which dictates I have to change the text in a node. Please tell me how to do that?