In this exercise, you modify the Utility Expenses application from Exercise 6. Use Windows to make a

Question:

In this exercise, you modify the Utility Expenses application from Exercise 6. Use Windows to make a copy of the Utilities Solution-DataGrid folder. Rename the copy Utilities Solution-Totals.
a. Open the Utilities Solution.sln file contained in the VB2017\Chap11\Utilities Solution-Totals folder. Undock the DataGridView control. The interface should now include a Calculate button that displays (in label controls) the following four values: the total cost for electricity, the total cost for water, the total cost for gas, and the total utility cost. Modify the interface and code. Display the totals with a dollar sign and two decimal places. Save the solution and then start and test the application.
b. Stop the application. Each time the user clicks the Save Data button, the button’s Click event procedure should clear the totals from the four labels. Modify the procedure’s code.

c. Save the solution and then start the application. Click the Calculate button. Now, enter the following values for month 4: 55, 20, and 50. Click the Save Data button and then close the message box. The button’s Click event procedure clears the contents of the four labels. 

d. Click the Calculate button to verify that the values for month 4 are included in the totals.

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: