How to

create MDI form

Published: 18. December 2008 | Updated: 18. December 2008
License: Microsoft Public License (MS-PL)
Categories: Winforms
Tags: C# Controls UI Winforms
Was this snippet helpful for you? YESYES / NONO
Get Analyzant!

Check your entire website from code to content in minutes with Analyzant, the free analysis suite.

Free download at analyzant.com

Code

In main form
this.IsMdiContainer = true;

Form form = new Form();
form.MdiParent = this;
form.Show();

Form form2 = new Form();
form2.MdiParent = this;
form2.Show();

this.LayoutMdi(MdiLayout.TileVertical);
Send us feedback about this snippet »



Related Snippets: