Hi.
I would like to do like an Help menu (F1).
So, I have a TreeView on the left, and 'a' panel on the right.
The TreeNodes have a Tag that permit to store the panels I want to show on
the right.
But, I don't know how to display the panel I want :
H have a parent panel MainPanel, a TreeView T, and panels P1, P2 etc ...
(corresponding to the selected TreeNode).
So, how do it begins ?
MainPanel.Add(T);
MainPanel.Add(P1);
MainPanel.Add(P2);
?
Because if I want the Panels to be in DockStyle.Fill, it may be a problem,
nop ?
Then, assuming that I have the previews stage is ok, how do I say to display
panel P1, and to hide P2 (if show P1 isn't enough).
I will store a class that contains the Panel in the T.SelectedNode.Tag. But
after, what ?
Any idea ?