Question
C# Create an application for a Pizza Delivery Company. You might check out the graphical user interface shown above. Your solution does not need to
C#
Create an application for a Pizza Delivery Company. You might check out the graphical user interface shown above. Your solution does not need to resemble this one; however, it might give you some ideas. You must provide a place for the user to enter their contact information (i.e., address, phone number, and e-mail), and some of the contact information should be displayed when an order is placed.
Your application should have a picture logo and company name. Provide selections
such as Small, Medium, and Large for size. Allow users to select from at least a dozen items to place on their pizza. You might consider offering different types of sauce (i.e., tomato, pesto, or no sauce), different types of crust, different specialty types of pizza (Supreme, Veggie, etc.).
BE CREATIVE! You can also sell wings, bread sticks, chicken strips, or something else of your choosing. Consider offering beverages. You must display the price for the order and allow the user to change their mind while they are ordering and reset the order form.
Cost Details
Size | Cost |
10 | $5 |
12 | $8 |
14 | $12 |
Ingredients are $0.75 each in addition to the base cost for the size.
Requirement 1: Business Object - Pizza class
- Create a Pizza class which contains attributes for size, sauceType, an ingredient list (array or Collection), and a cost.
- Create the getters/setters and the properties for each of these attributes.
- Create a ToString() method which shows the pizza details.
- Create a CalculateCost method which will calculate and set the cost based on the information in cost details.
This class should also have constants created for the ingredients that can be chosen for the pizza. These should be contained in either an array or a collection. When the program starts these should be used to build the list of ingredients that show up in the list box in the interface. Note the class should be contained in a BusinessObjects folder.
Requirement 2: Interface
Add a tab control to the application. This should have three tab pages (Home, Pizza, Summary).
The 'Home' tab page should contain an image related to pizza and the pizza shop name (which is based on your name ie. John Smith's Pizzaria). When the program is run, it should be able to tell who's submission it is based on the name of the business.
The 'Pizza' tab page should contain the pizza ordering details.
- The user should be able to select pizza size (10", 12", or 14"). A control should be added which allows the user to select one of these three sizes.
- The user should be able to select their pizza sauce. The two options are 'Regular' or 'Spicy'. Regular should be selected by default.
- The user should be able to select multiple toppings. There should be at least 8 toppings to choose from.
- There should be an "Add to Order" button on the 'Pizza' tab page. When this is clicked, the program should validate that the size is selected.
- When the user Adds to Order, a pizza object should be created and added to a list of items which is a static attribute of the Pizza class (note this attribute is to be added to the Pizza class created above)..
The 'Summary' tab page should provide a summary of the pizzas ordered so far. When the 'Summary' tab page is selected, the collection of pizzas in the Pizza class should be used to build the summary information. It should show each pizza on the order and a total cost. It should have a 'Clear' button which will clear all pizzas on the current order.
B & D Pizza Express Pizza Beverages Specialty Items Specialty Items heese Sticks - $4.00 Wings - $5.00 Cheese Sticks - $4.00 Garlic Bread - $3.00 B & D Pizza Express Pizza Beverages Specialty Items Drink Selections Quantity Soda 2 B & D Pizza Express Pizza Beverages Specialty Items Pizza Selections Size Type of Crust Medium (12") - $12.95 Thin & Crispy Crust Water 11 Boda cost is $1.75 - Water is free! Toppings - $1.50 each Pepperoni Mushroom Green Pepper Olives Chicken Sausage Place Order Place Order B & D Pizza Express Pizza Beverages Specialty Items Specialty Items heese Sticks - $4.00 Wings - $5.00 Cheese Sticks - $4.00 Garlic Bread - $3.00 B & D Pizza Express Pizza Beverages Specialty Items Drink Selections Quantity Soda 2 B & D Pizza Express Pizza Beverages Specialty Items Pizza Selections Size Type of Crust Medium (12") - $12.95 Thin & Crispy Crust Water 11 Boda cost is $1.75 - Water is free! Toppings - $1.50 each Pepperoni Mushroom Green Pepper Olives Chicken Sausage Place Order Place OrderStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started