I have been trying to figure out why my forms dont release after using TreeView or ListView. The forms do not contain properties which hold references to the objects. If I comment out the code that adds nodes to the treeveiw or listitems to the listview. The forms release properly. I've tried removing all items from the list view and all nodes from treeview before releasing the form, this does not work. When looking in the debugger the form is .null.. However I can explicitly release the form from a command window. (Not an acceptable work around)
Terry Rooks
Software Systems Architect
Microsoft Certified Solution Developer.Net
If at first you don't succeed, then skydiving definitely isn't for you.