Treeview Help
-
Hi everyone... if i select a node in a treeview that displays a panel on the form, how can i dispose of that panel after another node is selected? I don't want to have to use the
panel1.Dispose();
method whenever a different node is selected. Can someone help a gnuB figure this out? thanks :) .gonad. -
Hi everyone... if i select a node in a treeview that displays a panel on the form, how can i dispose of that panel after another node is selected? I don't want to have to use the
panel1.Dispose();
method whenever a different node is selected. Can someone help a gnuB figure this out? thanks :) .gonad.I'm not sure if i've understood your Problem, but what about storing a reference to the active panel and call the Dispose()-Function to this, so you don't have to close all Panels. Roland