Getting Started With MDI Application
MDI Application
Allow you to display multiple windows at the same time, with each form sharing a parent-child relationship.
Consist of MDI parent forms and MDI child forms. Require an MDI parent form to be created either at design time or at run time by setting the IsMdiContainer property of the form to true.
To Create MDI Parent Forms Me.IsMDIContainer = True To Create MDI Child Forms Dim frmchild as new Form() frmchild.MDIParent=Me frmchild.Show()
Menus in MDI Application
Help in enhancing the user interface of an application. Offer a convenient and consistent way to organize related options into a group. Are of two types:
Menus that appear on the menu bar. Context menus, which appear when the right mouse button is clicked.
Menus that appear on the menu bar
Are created using the MenuStrip object, which is a collection of MenuItem objects that are used to add individual menu items to the menu bar. Can be added either at the design time or at run time.
Context Menus
Contain the most frequently used menu options. That will appear by clicking the right button of a mouse. Can be added to a form either at design time or at run time
Toolbar
Is a graphical alternative to a menu. Contains buttons that provide quick access to the most frequently used options in an application. Can be created in a Windows application by adding the ToolStrip control to a Windows Form.
StatusBar
Is typically displayed at the bottom of an application window and is used to display information about the current state of the application. Has panels that can display individual pieces of information. However, you need to set the ShowPanels property of the StatusStrip control to true to use multiple panels in the status bar. Can also contain text to display informative messages, such as the use of the displayed form in an MDI application.