Online Eiffel Documentation |
Documentation Home > Technologies > .NET > Samples > Winform Samples |
EiffelStudio |
Simple Hello world form sample |
To compile the example:
After launching the application, you will see a window displayed with a similar appearance to the one above. This is the simplest windows form we can display. We have just set the title with "HelloWorld".
The application shows how to display a Windows Form under the windows environment. The application inherits the FORM class, and just set the title with "Hello world" with the inherited feature set_title.
set_title (("Hello world").to_cil)
The application is launched in a PROCESS with this command line:
feature {WINFORMS_APPLICATION}.run_form (Current).
This sample contains the following classes:
This sample is translated from the example located in the QuickStart\winforms\samples\simple hello world subdirectory of the.NET Framework SDK samples directory of Microsoft Visual Studio.NET.
Copyright 1993-2006 Eiffel Software. All rights reserved. |