Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C# Windows Forms App (.NET Framework) Form1.Designer.cs and Form1.cs The purpose of this project is to familiarize the student with variables, methods, if and switch
C#
Windows Forms App (.NET Framework)
Form1.Designer.cs and Form1.cs
The purpose of this project is to familiarize the student with variables, methods, if and switch case structures, list boxes, radio buttons and check box controls and string formatting. The student will design an ice cream store application. This application will accept data for an order and compute the total as the order is placed. The GUI (graphical user interface) will look as follows: X Ice Cream Store Flavors: Scoops: Toppings: 1 scoop Chocolate Vanilla Cookie dough Strawberry Mint chip Mocha Cookies n cream 2 scoops 3 scoops Sprinkles Oreos Chocolate chips Cherry syrup Gummy worms S $1.00/scoop $.50/topping Totat $3.50 Print Order Clear Exit This application consists of 1 form with 30 controls: 1 Textbox 3 Radio buttons 3 Buttons 6 Labels 1 List box 2 Group boxes or panels 5 Checkboxes Code must be written to respond to the user clicking on the buttons, radio buttons and check boxes. Project requirements: 1. when the tab key is hit, the focus must advance in a logical order 2. the user is not allowed to type in the textbox that contains the total 3. when the application starts the focus must be at the flavor selection list with the first flavor selected, one scoop selected and no toppings selected and the correct total displayed 4. when the "Exit" button is clicked, the application ends 5. the total will be computed and displayed when the user makes a scoop selection and/or toppings selection. 6. when the "Clear" button is clicked, the textbox is cleared. Focus goes to the listbox.. The first flavor is selected, one scoop is selected and no toppings are selected and the correct total is displayed 7. the total dollar amount must be formatted as currency 8. allow multiple flavors to be selected 9. the total will at all times be accurate and reflect the number of scoops and toppings as they are selected Turn in the project as follows: 1. Show me your project before class (preferred), break or after class. 2. Place comments with your name and project at the top of your code I will run your program and assign a grade. Additional Notes: 1. remember good naming conventions for the controls and variables 2. remember to include your name and the project as comments at the top of your code 3. test all of the requirements 4. remember to have fun when coding this assignment Extra Credit: 1. add a 'Print Order' button 2. When the print order button is clicked, the order will be displayed on a second form (not in a Messagebox) 3. Show the Flavor(s), number of scoops, the selected toppings and the total for the order on the second form 4. You may use any control(s) on the second form to show this dataStep 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