Simple data binding

Hello world form


Compiling

To compile the example:

  1. Launch EiffelStudio.
  2. Click Add project
  3. Browse to $ISE_EIFFEL\examples\dotnet\winforms\data\simple_binding\
  4. Choose simple_binding.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.

This is a list of five customers you can parse, and we display the details of the current customer in the list.

Clicking on the left button (|<) will bring you on the first customer of the list.

Clicking on the left button (<) will bring you on the precedent customer in the list.

Clicking on the right button (>) will bring you on the next customer in the list.

Clicking on the right button (>|) will bring you on the last customer of the list.

Under the Hood

This sample uses the following class:

  • FORM

Notes

This sample is translated from the example located in the QuickStart\winforms\samples\dataBinding subdirectory of the .NET Framework SDK samples directory of Microsoft Visual Studio.NET.

cached: 12/21/2024 12:15:19.000 PM