Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instruction: Answer all questions using c# The two forms seen overleaf are for a small cable company. Each customer can only subscribe to one package

image text in transcribed

Instruction: Answer all questions using c# The two forms seen overleaf are for a small cable company. Each customer can only subscribe to one package but they can view many movies as they like using the video on demand (VOD) service. There are three available packages: a. Basic = $1,100 b. Premium = $2,500.50 c Gold = $3,100.75 Each VOD cost $450 however a discount of 5% is given when 3 movies are rented and 15% when more than 6 movies are rented. All packages and VOB are subjected to a tax of 16.5%. 1. Create interfaces with abstract getter and setter methods for Address, Person and any other entity deemed necessary. [10 marks) 2. Create abstract classe(s) which contain the attributes (variables) and anything else deemed necessary for the various getter and setter methods in the interfaces created in question 1 above. [10 marks] 3. Implement all abstract methods. [25 marks] 4. Demonstrate the use of read-only and read-write properties. [6 marks] 5. Create the customer details form shown overleaf. [3 marks] a. Set default subscribed package to Select Package. [2 marks] b. Set default parish to Select Parish. [2 marks] Set default video on Demand to No. [1 mark] d. Insert the supplied movie night image. [1 mark] The Total Video Rented label and text box must only be visible when "video on demand yes" gets focus. [2 marks] f. Total video rented cannot be zero if it is visible [1 mark] 5 Gender can only be Male or Female. One must be selected [1 mark] h. Video on Demand can only be Yes or No One must be selected [1 mark] Supplied subscriber name, street, city cannot be less than 3 characters. [2 marks] A valid parish must be selected from the Combobox. [1 mark] k. A valid package must be selected from the Combobox, [1 mark] Ansignment Specification Template July 2009 Page 1 of 2 F-VTDI-ACAD-AST-11 1. Clicking Clear or using the Mnemonic character (c) will reset the controls on the form to their default status. (2 marks] m. Clicking Exit or using the Mnemonic character (x) will close the application (1 mark] n. Clicking Submit or using the Mnemonic character (s) wil display the subscriber's monthly invoice after all conditions in a above are met. Use textboxes to display appropriate messages when conditions are not met. The month displayed on the invoice must be based on the current calendar month. If the date changes the month on the invoice must be updated as well. [3 marks] 6. Create the invoice shown overleaf [3 marks] a. The Invoice must be open as a modal dialog form when the submit button on the customer details form is clicked. [2 marks] b. All textbox on the involce must be read-only- [2 marks] c. Clicking OK or using the Mnemonic character (o) on the invoice will close the invoice only. [2 marks] 7. Create Object(s) of the implemented and any other classes to call methods and use properties of the class to interact with the customer details form. [10 marks] 8. Use constructor overloading to pass values between the forms. [6 marks] Instruction: Answer all questions using c# The two forms seen overleaf are for a small cable company. Each customer can only subscribe to one package but they can view many movies as they like using the video on demand (VOD) service. There are three available packages: a. Basic = $1,100 b. Premium = $2,500.50 c Gold = $3,100.75 Each VOD cost $450 however a discount of 5% is given when 3 movies are rented and 15% when more than 6 movies are rented. All packages and VOB are subjected to a tax of 16.5%. 1. Create interfaces with abstract getter and setter methods for Address, Person and any other entity deemed necessary. [10 marks) 2. Create abstract classe(s) which contain the attributes (variables) and anything else deemed necessary for the various getter and setter methods in the interfaces created in question 1 above. [10 marks] 3. Implement all abstract methods. [25 marks] 4. Demonstrate the use of read-only and read-write properties. [6 marks] 5. Create the customer details form shown overleaf. [3 marks] a. Set default subscribed package to Select Package. [2 marks] b. Set default parish to Select Parish. [2 marks] Set default video on Demand to No. [1 mark] d. Insert the supplied movie night image. [1 mark] The Total Video Rented label and text box must only be visible when "video on demand yes" gets focus. [2 marks] f. Total video rented cannot be zero if it is visible [1 mark] 5 Gender can only be Male or Female. One must be selected [1 mark] h. Video on Demand can only be Yes or No One must be selected [1 mark] Supplied subscriber name, street, city cannot be less than 3 characters. [2 marks] A valid parish must be selected from the Combobox. [1 mark] k. A valid package must be selected from the Combobox, [1 mark] Ansignment Specification Template July 2009 Page 1 of 2 F-VTDI-ACAD-AST-11 1. Clicking Clear or using the Mnemonic character (c) will reset the controls on the form to their default status. (2 marks] m. Clicking Exit or using the Mnemonic character (x) will close the application (1 mark] n. Clicking Submit or using the Mnemonic character (s) wil display the subscriber's monthly invoice after all conditions in a above are met. Use textboxes to display appropriate messages when conditions are not met. The month displayed on the invoice must be based on the current calendar month. If the date changes the month on the invoice must be updated as well. [3 marks] 6. Create the invoice shown overleaf [3 marks] a. The Invoice must be open as a modal dialog form when the submit button on the customer details form is clicked. [2 marks] b. All textbox on the involce must be read-only- [2 marks] c. Clicking OK or using the Mnemonic character (o) on the invoice will close the invoice only. [2 marks] 7. Create Object(s) of the implemented and any other classes to call methods and use properties of the class to interact with the customer details form. [10 marks] 8. Use constructor overloading to pass values between the forms. [6 marks]

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

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

More Books

Students also viewed these Databases questions

Question

Identify the steps to follow in preparing an oral presentation.

Answered: 1 week ago

Question

3. What strategies might you use?

Answered: 1 week ago

Question

3. Write a policy statement to address these issues.

Answered: 1 week ago