Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Which Components and Controls can be used as MDIParent??
 

Which Components and Controls can be used as MDIParent??

Hallo,anybody here konws,except Form which components and controls can be used as MDIParent?
Can we create our own usercontrol to be a MDIParent?thanks alot!

bell
bell2256@ Monday, January 19, 2009 11:58 AM

Hi Bell,

Do you mean you want to create a control to contain child forms? That’s very complex. There is a MdiClient Class which represents the container for multiple-document interface child forms. But it cannot be inherited. Get more information from MdiClient Class.

I guess you may want to add control outside the form container. If so, you can add a panel the form, set the dock property to the panel, then you can add control to the panel, just like this.

If you have any other questions, please feel free to tell me.

Best regards,

Ling


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Friday, January 23, 2009 4:56 AM

Hi Bell,

Do you mean you want to create a control to contain child forms? That’s very complex. There is a MdiClient Class which represents the container for multiple-document interface child forms. But it cannot be inherited. Get more information from MdiClient Class.

I guess you may want to add control outside the form container. If so, you can add a panel the form, set the dock property to the panel, then you can add control to the panel, just like this.

If you have any other questions, please feel free to tell me.

Best regards,

Ling


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Friday, January 23, 2009 4:56 AM

You can use google to search for other answers

Custom Search

More Threads

• Problems with TypeConverter when using arrays
• Inherited controls not visble in the designer view of a form
• How to add a user control to a DatagridView
• Any Ideas - CodeDomSerializer, InitalizeComponet and ResourceManager
• VS2005 C# Textbox and Arial 8.25pt problem
• Custom Property Editor Woes
• Window From Designer Error
• Property grid sub-properties, smart tag editors, and designer persistence
• How to set a DragIcon when a control is dragged and dropped on a designer
• Hide controls for propertygrid in Property Window