Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic .NET w/accompanying CD-ROM
MDIForm
Upgrades to System.Windows.Forms.Form, with IsMDIContainer property set to True.
| Visual Basic 6 | Type | Visual Basic .NET |
| Activate | Event | Activated |
| ActiveControl | Property | ActiveControl |
| ActiveForm | Property | ActiveMDIChild |
| Appearance | Property | No mapping |
| Arrange | Method | LayoutMDI |
| AutoShowChildren | Property | If True, code is added to child forms in New event |
| BackColor | Property | No mapping |
| Caption | Property | Text |
| Click | Event | No mapping |
| Controls | Property | Controls |
| Count | Property | Controls.Count |
| DblClick | Event | DoubleClick |
| Deactivate | Event | Deactivate |
| DragDrop | Event | No mapping |
| DragOver | Event | No mapping |
| Enabled | Property | Enabled |
| Height | Property | Height |
| HelpContextID | Property | No mapping |
| Hide | Method | Hide |
| HWnd | Property | Handle |
| Icon | Property | Icon |
| Initialize | Event | Initialize method called from New event |
| Left | Property | Left |
| LinkClose | Event | No mapping |
| LinkError | Event | No mapping |
| LinkExecute | Event | No mapping |
| LinkMode | Property | No mapping |
| LinkOpen | Event | No mapping |
| LinkTopic | Property | No mapping |
| Load | Event | Load |
| MouseDown | Event | No mapping |
| MouseIcon | Property | No mapping |
| MouseMove | Event | No mapping |
| MousePointer | Property | Cursor |
| MouseUp | Event | No mapping |
| Move | Method | SetBounds |
| Moveable | Property | No mapping |
| Name | Property | Name |
| NegotiateToolbars | Property | No mapping |
| OLECompleteDrag | Event | No mapping |
| OLEDrag | Method | No mapping |
| OLEDragDrop | Event | No mapping |
| OLEDragOver | Event | No mapping |
| OLEDropMode | Property | No mapping |
| OLEGiveFeedback | Event | No mapping |
| OLESetData | Event | No mapping |
| OLEStartDrag | Event | No mapping |
| Picture | Property | No mapping |
| PopupMenu | Method | No mapping |
| QueryUnload | Event | Closing |
| Resize | Event | Resize |
| RightToLeft | Property | RightToLeft |
| ScaleHeight | Property | At run time, x.ClientRectangle.Height for Get |
| ScaleWidth | Property | At run time, x.ClientRectangle.Width for Get |
| ScrollBars | Property | No mapping |
| SetFocus | Method | Activate |
| Show | Method | Show, or ShowDialog if Modal parameter is vbModal, VB6.ShowForm method if Modal parameter is a variable |
| StartUpPosition | Property | StartPosition |
| Tag | Property | Tag |
| Terminate | Event | Terminate method, called from Dispose event |
| Top | Property | Top |
| Unload | Event | Closed |
| ValidateControls | Method | VB6.ValidateControls method |
| Visible | Property | Visible |
| WhatsThisButton | Property | HelpButton |
| WhatsThisHelp | Property | No mapping |
| WhatsThisMode | Method | VB6.WhatsThisMode method |
| Width | Property | Width |
| WindowState | Property | WindowState |
| ZOrder | Method | VB6.ZOrder method, or BringToFront if Position parameter is 0, SendToBack if Position parameter is 1 |