c#winfrom里的Treeview控件如何获得某个节点下面的子节点(子目录)?

2024-12-23 01:08:40
推荐回答(2个)
回答1:

treeview.nodes[i].node.Add()
i是树里的第i个节点,把你想加的节点放在Add后面的括号里就可以了

回答2:

dim temp as integer
temp=....nods.count
for i as integer = 0 to temp
....nods.nods(i)
next