rmokkenstorm Posted March 9, 2006 Posted March 9, 2006 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? Quote
Leaders snarfblam Posted March 9, 2006 Leaders Posted March 9, 2006 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. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.