Switch beetween forms

  • Thread starter Thread starter Vincent RICHOMME
  • Start date Start date
V

Vincent RICHOMME

Hi,

I am completely new to .NET and I have to developp a GUI application.
My app needs to have a Form with a vertical splitter. On the left I have
a treeview and on the right I display a different view in function of
the selected node.

How can I do that ?
How can I know what node is selected ?
How can I change the right view (Do I need a Panel, a usercontrol, a form ?)
 
In .NET 2.0 there's a new thing called a SplitContainer (I think it's
called). Dock-fill that in your parent form, dock-fill a TreeView in the
left panel, and whatever you like in the right panel, then subscribe to the
required events of your TreeView to refresh the right panel in an
appropriate way.
 
Back
Top