Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

  • Leaders
Posted
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.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...