Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Shared Sub SmartClearNodes(ByVal t As TreeView)
t.BeginUpdate()
Try [b]
t.SelectedNode = Nothing [/b] ' this is it ;-)
t.Nodes.Clear()
Finally
t.EndUpdate()
End Try
End Sub