To compile the example:
- Launch EiffelStudio.
- Click Add project
- Browse to $ISE_EIFFEL\examples\dotnet\winforms\mdi\
- Choose mdi.ecf
- Choose the location where the project will be compiled, by default the same directory containing the configuration file.
- Click Open.
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 choose the organization (cascade, title horizontal or title vertical) of the child windows using the entry "Window" in the menu.
Under the Hood
This application demonstrates how to create a multiple document interface. More information regarding the use of a MDI, is available here .
This sample uses 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.