Thursday, July 21, 2011

Removes currently selected node, or root if nothing is selected

TreeView1.Nodes.Remove(TreeView1.SelectedNode)
' Clears all nodes.
TreeView1.Nodes.Clear()

No comments:

Post a Comment

There was an error in this gadget