add a node to specific child node
问题 I can add a node to a treeview add method.But I want to add a node to specific child node. For example want to add a node to node5 |___node0 |___node1 | |___node3 | |___node4 | |___node5 |___node2 How do I can do this? Thanks. 回答1: Basic recursive tree node searcher, of the top of my head. If you only need to search by key, the answer by weismat is the easiest, however if you need to search by the data on the nodes, you should consider this solution as you can replace the name search with