MDI

Hello world form


Compiling

To compile the example:

  1. Launch EiffelStudio.
  2. Click Add project
  3. Browse to $ISE_EIFFEL\examples\dotnet\winforms\mdi\
  4. Choose mdi.ecf
  5. Choose the location where the project will be compiled, by default the same directory containing the configuration file.
  6. Click Open.

Running

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:

  • FORM

Notes

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.