I have a TreeView
in the left side of a SplitContainer
and I would like the content on the right side to change when I click on a TreeNode. What I'm trying to do is a settings "window" such as the one in Putty, i.e. te content in the right side can be quite complex.
(source: unixwiz.net)
The idea I have is to have a panel for content for each tree node, add all those panels to the right side and show/hide them based on clicks on the tree view.
Is this the right approach? Is there a better one? What is the best way to link the tree nodes to with their panels, e.g some kind of MVC?
thank you
Tom