We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to initialize MDIChild dynamically in WinForms TabbedMDIManager?

Platform: WinForms |
Control: TabbedMDIManager

Initialize MDIchild

In TabbedMDIManager, it is possible to initialize MDI Child Form. This can be achieved by following below steps.

1)Need to initialize Child Form instance.

2)Need to specify MDIParent, for MDI Child forms.

3)Need to activate the MDI child.

Following code examples demonstrates the same.


//Adds Child form into Parent form
Form2 form1 = new Form2();
form1.Text = "Child Form2";
form1.MdiParent = this;


'Adds Child form into Parent form
Dim form1 As New Form2()
form1.Text = "Child Form2"
form1.MdiParent = Me

Screenshot                                                        Display child MDIForm when menu item is selected with image

Figure 1. Display child MDIForm when MenuItem is selected with image.


C#:How to display the child MDIForm when MenuItem is selected C#

VB: How to display the child MDIForm when MenuItem is selected VB

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile