Like Windows Explorer

  • Thread starter Thread starter Rodrigo Ferreira
  • Start date Start date
R

Rodrigo Ferreira

Hello,

I'm a beginner in windows forms and now i want create a application, where
his layout is like Windows Explorer (On top a menu, and bottom 2 zones
(splitted) )
 
Rodrigo Ferreira said:
I'm a beginner in windows forms and now i want create a application, where
his layout is like Windows Explorer (On top a menu, and bottom 2 zones
(splitted) )

..NET 1.0/1.1:

Add the left control and set its 'Dock' property to 'Left'. Then add a
splitter control and dock it to the left edge too. Finally add the right
control and set its 'Dock' property to 'Fill'.

..NET 2.0:

Use the splitcontainer control.
 
Ok but how can i say to the child forms open in the right field of the
splitcontainer? I say that because i want open diferrent forms (choosed in
the menu) in that area.

Greetings.
 
Rodrigo Ferreira said:
Ok but how can i say to the child forms open in the right field of the
splitcontainer? I say that because i want open diferrent forms (choosed in
the menu) in that area.

You may want to use user controls instead of forms.
 
Rodrigo Ferreira said:
you can explain better that idea please?

"Project" -> "Add user control...". User controls are similar to forms but
they can be placed on a form like controls. You can load and show the
controls at runtime too:

\\\
Dim u As New UserControl1()
Me.Controls.Add(u)
u.Show()
///
 
Back
Top