Question: Open the LunchOrder solution ( above ) . Remember, you will need to unzip it in order for it to open in Visual Studio. Add

Open the LunchOrder solution (above). Remember, you will need to unzip it in order for it to open in Visual Studio.
Add three radio buttons to the Main Course group box and set their properties so they appear as shown above. The Hamburger option should be selected by default.
Add a group box for the add-on items. Then, add three check boxes to this group box as shown above. None of the check boxes should be selected by default.
Code a method name ClearTotals() that clears the three text boxes and a method named ClearAddOns() that removes the check marks from the three check boxes.
Code an event handler that changes the text thats displayed for the Add-ons group box and the three check boxes when the user selects a different main course. This event handler should also remove the check marks from the add-ons and clear the order totals. Test the application to be sure this works correctly.
Code an event handler that calculates and displays the subtotal, tax, and order total when the user clicks the Place Order button. The subtotal is the cost of the main course plus the cost of the add-ons. The tax is 7.75% of the subtotal. And the order total is the subtotal plus the tax. Test the application to be sure this works correctly.
Code an event handler that clears the order totals when the user checks or unchecks an add-on. Then, test the application one more time.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!