subject

Create a C# GUI Windows Form application named JobDemo that declares and uses Job objects. The Job class holds job information for a home repair service. The class has five properties that include a job number, customer name, job description, estimated hours, and price for the job. Create a constructor that requires parameters for all the data except price. Include auto-implemented properties for the job number, customer name, and job description, but not for hours or price; the price field value is calculated as estimated hours times $45.00 whenever the hours value is set.

Also create the following for the class:

An Equals() method that determines two Jobs are equal if they have the same job number A ToString() method that returns a string containing all job information

The JobDemo Windows Form declares a few Job objects, sets their values, and demonstrates that all the methods work as expected.

Using the Job class you created in (a), write a new application named JobDemo2 that creates an array of five Job objects. Prompt the user for values for each Job. Do not allow duplicate job numbers; force the user to reenter the job when a duplicate job number is entered. When five valid objects have been entered (use List), display them all, plus a total of all prices.

Create a RushJob class that derives from Job. A RushJob has a $150.00 premium that is added to the normal price of the job. Override any methods in the parent class as necessary. Create a new Windows Form named JobDemo3 that creates an a List of five RushJobs. Prompt the user for values for each, and do not allow duplicates

Create a RushJob class that derives from Job. A RushJob has a $150.00 premium that is added to the normal price of the job. Override any methods in the parent class as necessary. Write a new Windows Form named JobDemo3 that creates a List of five RushJobs. Prompt the user for values for each, and do not allow duplicate job numbers. When five valid RushJob objects have been entered, display them all, plus a total of all prices. Make any necessary modifications to the RushJob class so that it can be sorted by job number.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 16:30
Monica and her team have implemented is successfully in an organization. what factor leads to successful is implementation? good between different departments in an organization leads to successful is implementation.
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
What is the purpose of a computer network needs assessment? to analyze which workers need more training to improve their performance to compare worker productivity to determine what steps employees can take to increase company revenue to evaluate how to move from the current status to the desired goal
Answers: 2
question
Computers and Technology, 24.06.2019 05:30
How do i get rid of my member ship for
Answers: 2
question
Computers and Technology, 24.06.2019 14:00
Which computer tools allow you to communicate with coworkers, family,and friends
Answers: 1
You know the right answer?
Create a C# GUI Windows Form application named JobDemo that declares and uses Job objects. The Job c...
Questions
question
Mathematics, 19.08.2020 22:01
question
Mathematics, 19.08.2020 22:01
question
Mathematics, 19.08.2020 22:01