Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to Xbox Chaos: Modding Evolved

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Nobody

C#
[C#/wpf]Making A Control Like A Master Form

3 posts in this topic

I want a control like a master form. I have a tab control, and on a certain tab, I want it to be able to contain other forms and not let them out, like Horizon. How would I create something like this?

Share this post


Link to post
Share on other sites

I want a control like a master form. I have a tab control, and on a certain tab, I want it to be able to contain other forms and not let them out, like Horizon. How would I create something like this?

This is known as a Multiple-Document Interface, or MDI for short. Assuming you're using Windows Forms, there's a tutorial you can follow here to get started with the basics. Google is really your friend with this one though.

EDIT: Oops, missed the WPF part of your topic title. See Xerax's post below for a solution.

Nobody likes this

Share this post


Link to post
Share on other sites

This is known as a Multiple-Document Interface, or MDI for short. Assuming you're using Windows Forms, there's a tutorial you can follow here to get started with the basics. Google is really your friend with this one though.

He said wpf in the thread title ;).

But yeah, in WPF you get no MDI options, you have to make your own. Here is something to work on: http://wpfmdi.codeplex.com/

Nobody likes this

Share this post


Link to post
Share on other sites