[[Property:title|Simple Hello world form sample]]
[[Property:weight|-12]]
[[Property:uuid|f4f924a5-20a2-403b-ee1d-a39c77fbb8fd]]
[[Image:simple-hello-world|Hello world form]]
==Compiling==
To compile the example:
# Launch EiffelStudio.
# Click '''Add project'''
# Browse to ''$ISE_EIFFEL\examples\dotnet\winforms\hello_world\''
# Choose ''hello_world.ecf''
# Choose the location where the project will be compiled, by default the same directory containing the configuration file.
# Click '''Open'''.
==Running==
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".
==Under the Hood==
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_text.
set_text ("Hello world")
The application is launched in a PROCESS with this command line:
{WINFORMS_APPLICATION}.run_form (Current).
This sample uses the following classes:
* FORM
* WINFORMS_APPLICATION
==Notes==
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.