Contents
  1. Pizza Sample
    1. Compiling
    2. Running
    3. Under the Hood

Pizza Sample

pizza  <br/>


Compiling

To compile the example:

  • Launch EiffelStudio.
  • Click Add project
  • Browse to $ISE_EIFFEL\examples\wel\pizza\.
  • Choose pizza.ecf
  • Choose the location where the project will be compiled, by default the same directory containing the configuration file.
  • Click OK.

Running

After launching the program, a window will be displayed titled "WEL Pizza" If you select "Order" from the "Pizza" menu, a new window will appear (Illustrated above), which allows you to enter details of a new pizza order. When the order is completed, clicking the "ok" button will display the details of the order that was entered. Selecting "Exit from the "Pizza" menu or closing the original window will exit the program.

Under the Hood

MAIN_WINDOW inherits WEL_FRAME_WINDOW while DIALOG inherits WEL_MODAL_DIALOG . DIALOG demonstrates the use of a selection of common controls to build a custom user interface. This sample contains the following classes:

  • APPLICATION_IDS
  • DIALOG
  • MAIN_WINDOW
  • PIZZA_DEMO
5375fdad-ab5e-7f6e-ef44-a4f34d137231
cached: 06/28/2017 6:42:47.000 PM