I have a treeview with a directory structure...
each node is a sub directory...
when clicking on a node, the path value is created based upon parent and current node text...
I can build a path string with parent and node, but clicking levels deeper than that I am having trouble creating the complete path...
How can I create a navigation path from 4 or 5 node levels?
private void treeView1_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
if (e.Node.Parent != null)
dirParent = e.Node.Parent.Text.ToString();
dirNav = dirParent + @"\" + e.Node.Text.ToString();
dirNav = e.Node.Text.ToString();