After launching the application, you will see a window displayed with a similar appearance to the one above. The main window contains a menu with three entries (File, Format and Window). This menu can merge with its child windows (Document).
In the "File" entry, you can add a child window (Document), display the active child window, and exit the program.
You can change the format of the text displayed in the child windows using the entry "Format" in the menu.
You can chose the organization (cascade, title horizontal or title vertical) of the child windows using the entry "Window" in the menu.
This application demonstrates how to create a multiple document interface. More information regarding the use of a MDI, is available here.
This sample contains the following class:
This sample is translated from the example located in the QuickStart\winforms\samples\MDI subdirectory of the .NET Framework SDK samples directory of Microsoft Visual Studio .NET.