Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a home builder form. This form needs controls to allow the user to enter the home buyer s information ( name , phone, address,
Create a home builder form. This form needs controls to allow the user to enter the home buyers information name phone, address, etc build a home with the home buyers specifications, and purchase the home.
a Add form controls for the user to enter their name, phone number, and address information.
b Add a dropdown box to allow the user to select the home plan for the home they wish to build
A home plan is a basic plan with the style of the house, picture, number of bedrooms, number of
bathrooms, and size of the home in square footage. This plan is a starting point that allow the
user to build upon with their individual choices. There should be at least home plans.
i The selection of a home plan should display an image of the home and its floor plan.
ii You should find images for each home plan: one image of the front of the home, and
one image for the floor plan.
c Add a dropdown box or radio button group to allow the user to select the type of roof shingles
metal, or clay tiles
d Add form controls that allow the user to make selections and customize their dream home.
i Selection for the kitchen countertop material Formica wood, granite, quartz
ii Selection for floor coverings tile carpet, or wood
iii. Selections for at least additional options for the home finished basement, pool,
deck, fence, fireplace, etc... Allow the user to choose as many as they like to add to
their home.
e You need to assign costs for all selections. The cost of the home will be based on the users
selection for the home plan, roof material, additions, and the costs for each selection. Make
sure to start with a base price for each home plan. For example, the smaller home plan should
have a smaller base price than the largest home plan.
i You must use a mixture of dropdown boxes, radio button groups, and checkboxes to
allow the user to build their dream home. This means you cannot use a dropdown box
for everything.
f Add a button to allow the user to submit the home they built and plan to purchase. This button
should redirect the user to the confirmation form that will display the receipt of the transaction.
Create a confirmation form. This form will serve as a receipt for the home the home buyer built and
plans to purchase.
i The confirmation form must show all the home builders personal information name
phone, address,
ii Display the home plan and floor plan images for the home they wish to build.
iii. Display all the options they selected for their home and the cost for each.
iv Display the total cost for the home.
The program will require at least classes: Home, HomeBuyer, and PurchaseTransaction. The Home
class represents a single home that was built by the user based on the selections made from the
Form GUI This class should contain fields that represent the attributes of the home, constructors,
and properties to getset the fields in the class. The HomeBuyer class represents the person that
built the home. This HomeBuyer class should contain fields that represent the important attributes
of a home buyer, constructors, and properties to getset the fields of the class. The
PurchaseTransaction class will store information related to the purchase like the date and time the
purchase was submitted, the HomeBuyer who made the purchase, and Home the home buyer built.
The PurchaseTransaction class will be responsible for calculating the cost of the home. These
classes should be written in a separate class file from the Forms class file. The PurchaseTransaction
class should have methods to store a home, store the home the buyer wants to build, calculate the
cost of the home, and any other necessary operations. Finally, I want you to think about where to
store and access the costs for selections like home plans, additions, roof material, countertop
material, floor coverings, etc...; these costs should not be defined in the Form class related to the
GUI.
You will need to create an instance of these classes and use them in the Form classes for the
application. When you write these classes, keep in mind that the classes should be written so that
they can be used in any other program regardless of the user interface. This means you shouldnt
rely on GUI controls in these custom classes that you are creating for this assignment. For example,
if your Home class is written so it gets the home plan from a ComboBox, then it cannot be used in
any other programs that dont have this control, and it cannot be used in console programs that
dont use comboboxes. The methods of your classes should be passed any inputs the methods need
and deliver any output via return statements to the GUI that will display it
You need to properly name all your forms, controls, variables, the classes, and all other elements
regarding this project. See the lecture slides on Coding Style. Also, you need to put thought into the
user interface design, so it can be used by anyone with little effort.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started