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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top