Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c# visual studio This program will be used to order a pizza. The user will make selections from the form to specify what kind of

c# visual studio

This program will be used to order a pizza. The user will make selections from the form to specify what kind of pizza she wants. The program will calculate the price of the order based on these choices. The price of the order and the message Is this what you want? is displayed in a message box when the user clicks a button submit the order. The message box has Yes and No buttons. If the user clicks the Yes button on the message box, then the controls are reset to the default values and another message box is displayed saying Thank you for your order (with just the OK button). If the No button is clicked, nothing is changed and the user may correct the order.

The form will have a set of radio buttons to select the size of the pizza. The sizes will be Small ($7.00), Medium ($13.00) and Large ($16.50). The default will be Small. The form will also have a set of radio buttons that select the type of crust. The choices are Thin (No extra charge), Thick ($1.00 extra) and Pan ($1.50).

The form will have a set of check boxes to select side orders. The side orders are Cheese Bread, Salad, and Fried Cheese Sticks. Each of the side orders is $1.00. The default is false for each side order.

There is a set of check boxes for toppings. They are Bacon, Black Olives, Green Olives, Green Peppers, Hamburger, Mushrooms, Onions and Sausage. The user may select any one of these by clicking on the item. The user may remove an item from the order by clicking on the item again. Each item costs $0.50. If you wish to use a checkboxList instead of a set of check boxes, you may do so.

There will be a text box to select the number of drinks. Each drink is $1.00. The default value is 0. The program should check to make sure that the value in the text box is numeric and if it is not numeric when the user clicks the Order In button then assume that the number of drinks is 0.

There is a button with the caption Order In. When this is pressed, show the message box that was described at the start of this assignment. After the user clicks OK the form is reset to the default values. We will ignore the problem of transmitting this order to the kitchen.

There is one more button which says About us. When this is clicked, a message box will appear saying that all ingredients are fresh when the pizza is delivered and if you have any questions about the amount of fat, salt, or calories in the pizza then you probably should not order one.

You may add a picture box with an appropriate image if you wish.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions

Question

Did the team members feel that their work mattered

Answered: 1 week ago

Question

3. What may be the goal of the team?

Answered: 1 week ago