|
|
Title | Make an MDI application in VB .NET |
Keywords | MDI, Multiple Document Interface, VB.NET |
Categories | VB.NET, Tips and Tricks, Controls |
|
|
To make the MDI container form, make a form and set its IsMdiContainer property to True.
To make a menu list the MDI child forms, set its MdiList property to True.
Use code similar to the following to add a MDI child form to the MDI container.
|
|
Dim frm2 As New Form2
frm2.MdiParent = Me
frm2.Text = "Child " & Me.MdiChildren.GetLength(0)
frm2.Show()
|
|
|
|
|
|