Create a Windows Forms application. Use the following names for the project and solution, respectively: Chopkins Project

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

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: