I have a treeview control on my form. When i press a button, I want the program to dump the contents of the treeview into the file.

I am having no problem saving the contents, but when it comes to loading them from the file later on, I had an error because i was loading a child Node whose parent was further down the file. Fair enough i though...so i loaded all of the nodes into the second level (under the root).

What i need to be able to do is this:

stop the TreeView control from flickering (refreshing itself) everytime a node's parent property is changed, any ideas?