How to select certain child node in TreeView, C#

Posted by Caslav on Stack Overflow See other posts from Stack Overflow or by Caslav
Published on 2010-03-23T13:25:35Z Indexed on 2010/03/23 13:33 UTC
Read the original article Hit count: 296

Filed under:
|
|

I am having a problem with selecting a certain child node.

What I want to achieve: I you have this treeview for example (one parent with two child nodes):
Parent
-Child with a value 5
-Child with a value 2.

I want to add these two values and assign them to Parent node:

Parent result 7
-Child 5
-Child 2.

Of course, a bigger treeview would have several parents and lots of children and they will all add up to one root node.

How can I do this?? pls help.

thx,
Caslav

© Stack Overflow or respective owner

Related posts about treeview

Related posts about c#