Afternoon all!
Was hoping for a bit of help with something.
I am oringally a C++ developer so this way of thinking may be way out there when coding in c# but I thought I would ask the experts first.
I am currently creating an XML Viewer. I have a TreeView with a Collection of TreeNodes holding all the Elements within the Xml document. I also have an option to add tabs which will open a new tab with the Main TreeView's selected Node as the root node of a new TreeView.
At the moment I am cloning the TreeNode when assigning it to the new TreeView, but I was wondering if there is some way of just making a pointer to the original Treenode and assigning that pointer to the new TreeView?
Thanks in advance for your help!!
Solemn.