Pizza

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
cached: 12/10/2024 11:03:43.000 PM