PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Like Windows Explorer

Reply

Like Windows Explorer

 
Thread Tools Rate Thread
Old 07-02-2006, 05:50 PM   #1
Rodrigo Ferreira
Guest
 
Posts: n/a
Default Like Windows Explorer


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) )

------------
| | |
| | |
------------

Anyone knows how can i do that?


  Reply With Quote
Old 07-02-2006, 09:33 PM   #2
Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
Default Re: Like Windows Explorer

"Rodrigo Ferreira" <rjrferreira@gmail.com> schrieb:
> 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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

  Reply With Quote
Old 08-02-2006, 09:35 AM   #3
Rodrigo Ferreira
Guest
 
Posts: n/a
Default Re: Like Windows Explorer

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.


"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> escreveu na mensagem
news:uOOMa4CLGHA.3972@TK2MSFTNGP12.phx.gbl...
> "Rodrigo Ferreira" <rjrferreira@gmail.com> schrieb:
>> 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.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>



  Reply With Quote
Old 08-02-2006, 10:38 AM   #4
Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
Default Re: Like Windows Explorer

"Rodrigo Ferreira" <rjrferreira@gmail.com> schrieb:
> 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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

  Reply With Quote
Old 08-02-2006, 11:26 AM   #5
Rodrigo Ferreira
Guest
 
Posts: n/a
Default Re: Like Windows Explorer

you can explain better that idea please?

"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> escreveu na mensagem
news:ub0qFvJLGHA.3012@TK2MSFTNGP14.phx.gbl...
> "Rodrigo Ferreira" <rjrferreira@gmail.com> schrieb:
>> 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.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>



  Reply With Quote
Old 08-02-2006, 07:01 PM   #6
Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
Default Re: Like Windows Explorer

"Rodrigo Ferreira" <rjrferreira@gmail.com> schrieb:
> 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()
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off