Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create a windows application that keeps inventory for a car dealership. You prog

ID: 3620167 • Letter: C

Question

Create a windows application that keeps inventory for a car dealership. You program should contain the following items:

1. Three Forms
a. frmMain
i. Three buttons (1 for frmAdd & frmAbout) and 1 to exit the program.
b. frmAdd
i. This form should include all the details needed to add a vehicle to the car dealership inventory. The program should capture the car’s make, model, year, and sales price. In addition, you will need to create a ‘Car’ class that has 8 methods (4 setters and 4 getters). The methods will be:
a. setMake(parameter)
b. setModel(parameter)
c. setYear(parameter)
d. setPrice(Parameter)
e. getMake()
f. getModel()
g. getYear()
h. getPrice()
ii. There should be a button click event that invokes the setter methods (passing all the relevant information) for every new object created and storing it to the local variables created in the class.
iii. When all the relevant information is stored in the object, the last line of code inside the button click event should be 1 line of code, a call to a function named, AddCarToList(parameter), that accepts 1 parameter. Inside this function, you should invoke the getter methods for the car object you just created. Once you have received all the information related to that car, add only the car make – model – and year to the listbox.
iv. The last functional requirement for this form should be that, when you click on any item inside the listbox, it should retrieve all the necessary information regarding that car object and display it in the make, model, year, and sales textboxes – which were initially used to enter the data for a car.
c. frmAbout
i. This form should have a few labels explaining the purpose of the program as well as your name, class section, and homework #.

Explanation / Answer

Create a windows application that keeps inventory for a car dealership. You program should contain the following items:

1.      Three Forms

a.      frmMain

                                                              i.      Three buttons (1 for frmAdd & frmAbout) and 1 to exit the program.

b.      frmAdd

                                                              i.      This form should include all the details needed to add a vehicle to the car dealership inventory. The program should capture the car’s make, model, year, and sales price. In addition, you will need to create a ‘Car’ class that has 8 methods (4 setters and 4 getters). The methods will be:

a.      setMake(parameter)

b.      setModel(parameter)

c.       setYear(parameter)

d.      setPrice(Parameter)

e.      getMake()

f.        getModel()

g.      getYear()

h.      getPrice()

                                                            ii.      There should be a button click event that invokes the setter methods (passing all the relevant information) for every new object created and storing it to the local variables created in the class.

                                                          iii.      When all the relevant information is stored in the object, the last line of code inside the button click event should be 1 line of code, a call to a function named, AddCarToList(parameter), that accepts 1 parameter. Inside this function, you should invoke the getter methods for the car object you just created. Once you have received all the information related to that car, add only the car make – model – and year to the listbox.

                                                           iv.      The last functional requirement for this form should be that, when you click on any item inside the listbox, it should retrieve all the necessary information regarding that car object and display it in the make, model, year, and sales textboxes – which were initially used to enter the data for a car.

c.       frmAbout

                                                              i.      This form should have a few labels explaining the purpose of the program as well as your name, class section, and homework #.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote