Question
Need help coding this.. Must have both the total packs and total price. Thank you for any help. Create a Windows Forms application. Use the
Need help coding this.. Must have both the total packs and total price. Thank you for any help.
Create a Windows Forms application. Use the following names for the project and solution, respectively: Chopkins Project and Chopkins Solution. Save the application in the VB2017\Chap03 folder. Change the form files name to Main Form.vb. Change the forms name to frmMain. Create the interface shown in Figure 3-37. The interface contains six labels, three text boxes, and two buttons. The application calculates and displays the total number of packs ordered and the total price of the order. The prices of a 12 pack, a 5 pack, and a 2 pack are $14.99, $6.99, and $2.50, respectively. Use variables and named constants in your code. Enter the three Option statements in the Code Editor window. The total sales amount should be displayed with a comma (if necessary), a dollar sign and two decimal places. Code each text boxs TextChanged and Enter event procedures. Save the solution and then start and test the application.
Figure 3-37 User interface for Exercise 11
Chopkins Toys 12 pack 5 pack: 2 pack: Totals: set this label's BackColor property Calculate ExitStep 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