能否实现TreeView赋值,并展开赋值节点位置,编写好与FullName(FullPath)格式相同字符串,并赋值给FullName(FullPath)
Dim FullName As String = "父节点1\父节点2\子节点"
For Each n As WinForm.TreeNode In tr.AllNodes
If n.FullName = FullName Then
tr.SelectedNode = n
n.EnsureVisible
Exit For
End If
Next