Question: 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

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 file’s name to Main Form.vb. Change the form’s 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 box’s TextChanged and Enter event procedures. Save the solution and then start and test the application.

g Chopkins Toys х 12 pack: 5 pack: 2 pack: set this label's BackColor property Totals: Calculate Exit

g Chopkins Toys 12 pack: 5 pack: 2 pack: set this label's BackColor property Totals: Calculate Exit

Step by Step Solution

3.42 Rating (171 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVer... View full answer

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 Programming Microsoft Visual Basic Questions!