Question: CPAN 151 C#.NET Assignment 1 - RentACondominium 10% Please Check Black Board for due date. Please submit via Black Board under Assignments: Assignment1. Use your
CPAN 151 C#.NET Assignment 1 - RentACondominium 10% Please Check Black Board for due date. Please submit via Black Board under Assignments: Assignment1. Use your finished solution for Lab 5 and change the design to accommodate another type of property: Condominium. Design a system for users to input their names and other details (as in Lab 5) and select a condominium with or without amenities from a combo box or a type of house from another combo box. If a customer chooses Condominium as a property of interest, then he/she can choose how many beds and baths (max. beds are 2 and max. baths are 1.5) they want and also whether they want amenities or not. Amenities are general facilities and services like swimming pools, gym, party rooms, visitor parking and many more that are available for the use of residents. Here is the price list. Base condominium price = $600 Amenities = $150 Beds and baths = same amount as in lab 5 This time you should be using inheritance. Think about common fields and methods among house and condominium objects. You may need to make some changes to Property class. Use Lab 5 as a starting point. Add radio buttons to control the activation of the correct set of controls for the type of property the user wants to choose. If you choose Condominium, maximum availability for number of beds and baths is 2 and 1.5 respectively. Check the screen shot. Also add a combo box to your form to allow the user to select amenities option from a drop down list. Add another combo box to allow the user to select the type of house town, semi or detached. Once the customer is done with filling the details and options for property lookup, a label should display the customer and property details along with total rent. CPAN 151 C#.NET - Youll need to modify your Class Library to accommodate this new type of property. - Use a combo box and set the DropDownStyle property to DropDownList. - Use an if statement or switch case to determine whether amenities are chosen or not. - Make sure you follow the GUI design guidelines on this assignment. That means accelerators, tab stops. - Use our naming conventions for all controls, variables and constants. - Be sure to include comments. - Code formatting is also worth marks. Challenge - Have the combo boxes display the first item when the form first runs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
