Frames or DockStyle or something else C#

rmokkenstorm

Freshman
Joined
Feb 20, 2006
Messages
31
I building a winform C# project
and now I want to use frames or some kind.
I've noticed there where dockstyles that can be used but this is only for 2 frames.
i'd like to call them frames.
But in the dockstyle i can use top and bottom or fill..
but i need 3 frames, a bottom, middle and top.
how can i do this.
can this be done
or should i use some other functions?
 
Simply place panels in other panels to create more "frames". If you want three tiled vertically, for example, drop the first on the form, set its Dock property to Dock.Top. Drop a second on the form (let's call it Panel2), set its Dock property to Fill. Drop a thrid panel into Panel2, setting its Dock property to Dock.Top, and then another into Panel2, setting it's dock property to Dock.Fill. The form is now split into three panels, and the bottom panel will expand/contract to fill the form.
 
Back
Top