Multiple Document Interface (MDI)
MDI-Multiple Document Interface
Has a single parent form containing one or more inner forms
Example:
- Start a new project
- Change form property isMidContainer to true

This lets you have child windows within it
- Drop a button on the form (normally you use a menu)
- Change the text to Add Form
- right-click on the project in solution explorer and add a new form
- Call it child.vb
- Go back to MDI form
- Double click button
Dim frmChild as new child()
frmChild.mdiparent=me
frmchild.show()
the form is inside the parent form
you can drag it around but only inside the parent window
forms have a layoutMDI method that takes an enum
an enum is basically a list of possibilities
- mdilayout.arrangeicons
- mdilayout.cascade
- mdilayout.tilehorizontal
- mdilayout.tilevertical
- add two buttons
- name them btncascade and btntile
- change the text to Cascade and Tile

me.layoutmdi(mdilayout.cascade)
me.layoutmdi(mdilayout.tilehorizontal)
