[[Property:title|Pizza]]
[[Property:weight|2]]
[[Property:uuid|5375fdad-ab5e-7f6e-ef44-a4f34d137231]]
=Pizza Sample=
 [[Image:pizza|pizza]]  <br/>
<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==
<code>MAIN_WINDOW</code> inherits [[ref:libraries/wel/reference/wel_frame_window_chart|WEL_FRAME_WINDOW]]  while <code>DIALOG</code> inherits [[ref:libraries/wel/reference/wel_modal_dialog_chart|WEL_MODAL_DIALOG]] . <code>DIALOG</code> demonstrates the use of a selection of common controls to build a custom user interface. 
This sample contains the following classes: 
* <code>APPLICATION_IDS</code>
* <code>DIALOG</code>
* <code>MAIN_WINDOW</code>
* <code>PIZZA_DEMO</code>





