Progress bar sample

Hello world form

Compiling

To compile the example:

  1. Launch EiffelStudio.
  2. Click Add project
  3. Browse to $ISE_EIFFEL\examples\dotnet\winforms\control_reference\progress_bar_ctl\
  4. Choose progress_bar_ctl.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. On the left of the form you have the PROGRESS_BAR control, and on the right you have some controls to configure the PROGRESS_BAR.

Under the Hood

The application shows how to configure a PROGRESS_BAR.

The feature on_load is redefined and launch a thread (THREAD_START) that simulates the progression of a process.

This sample uses the following classes:

  • PROGRESS_BAR
  • GROUP_BOX
  • TRACK_BAR
  • COMBO_BOX
  • LABEL
  • THREAD_START

Notes

This sample is translated from the example located in the QuickStart\winforms\samples\controlReference\ProgressBar sub-directory of the .NET Framework SDK samples directory of Microsoft Visual Studio .NET.

cached: 12/09/2024 5:01:13.000 AM