Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this exercise, you create an application that calculates a customer's cable bill. Create a Windows Forms application. Use the following names for the project

In this exercise, you create an application that calculates a customer's cable bill. Create a Windows Forms application. Use the following names for the project and solution, respectively: Cable Direct Project and Cable Direct Solution. Save the application in the VB9e\Chapo6 folder. (F6.1, F6.3, F6.5, A6.4, A6.5, A6.7-A6.10)
a. Create the interface shown in Figure 6-51. Display numbers from o through 20 in the lstPremium control. Display numbers from o through 100 in the lstConnections control. When the interface appears, the first item in each list box should be selected.
b. The Calculate button's Click event procedure should calculate and display a customer's cable bill. The cable rates are shown in Figure 6-52. Business customers must have at least one connection. Use two functions: one to calculate and return the total due for business customers, and one to calculate and return the total due for residential customers.
c. The form's FormClosing event procedure should verify that the user wants to close the application.
d. The total due should be cleared when a change is made to a radio button or list box.
e. Save the solution and then start and test the application. (The total due for a business customer with 3 premium channels and 12 connections is $254.50. The total due for a residential customer with 3 premium channels is $49.50.)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Bioinformatics Databases And Systems

Authors: Stanley I. Letovsky

1st Edition

1475784058, 978-1475784053

More Books

Students also viewed these Databases questions

Question

mention 3 uses of a computer

Answered: 1 week ago