I have a recursive function wich objective is scann an structure and represent that structure with treenodes.
Inside my function depends the structure I'll have to create another treenode inside my treenode or just create a node.
My problem is that I don't know how to remember my treenode position when I have to call my function again.
If strTop.TextString.ToUpper = "DMN" Then
gcTreeno.Nodes.Add("Node")
Else
Dim perf As New TreeNode
gcTreeno.Nodes.Add(perf)
End If
if i would like to write next time a node into perf, how i could do it ?