Study the scenario and complete the question(s) that follow: MotorHub Inventory Application MotorHub is a new and upcoming car dealership based in South Africa. They will be selling new and second-hand cars of all types. When they receive stock of a new car to sell, they fill in an inventory form that consists of the car details, such as car model and year of manufacture. This is a tedious process as it involves a lot of paperwork. The MotorHub management have decided to digitise this process by implementing an application that will be used for the inventory process instead of the traditional paper process that they have been using. You have been contacted by the management team to assist them in developing this application. Source: Makura S.M (2021)

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

 

Study the scenario and complete the question(s) that follow: MotorHub Inventory Application MotorHub is a new and upcoming car dealership based in South Africa. They will be selling new and second-hand cars of all types. When they receive stock of a new car to sell, they fill in an inventory form that consists of the car details, such as car model and year of manufacture. This is a tedious process as it involves a lot of paperwork. The MotorHub management have decided to digitise this process by implementing an application that will be used for the inventory process instead of the traditional paper process that they have been using. You have been contacted by the management team to assist them in developing this application. Source: Makura S.M (2021)

1.1 Create a C# application for MotorHub using Visual Studio. The application should be titled “MotorHub Car Inventory App”. It must consist of a car logo. The application must allow the user to enter the car details and store them. Your application must consist of a class for handling the car details. The car details that you need to capture are the Inventory Number, Name, Model, Year, Mileage and Price. The class must also consist of a default constructor which initialises the public properties. The class must also contain a constructor which sets the properties to values received from the main form. The application should accept values from a user which will be typed into the textboxes.

When a user enters the car be created and stored in an ListBox with the details and clicks the “ ArrayList Add Car ” button, a new Car object must . At the same time, a method must update the inventory and the car number. This will allow the user to select a n inventory number details will be displayed in the textboxes. Ensure that only numerical values are entered for the Year, Mileage and Price .

A user should be able to add more cars the Add Car and their inventory numbers button. The application should have a “Remove Car to the ListBox using ” button, which will remove the car selected from the ListBox . When a new non-numerical number is entered either the year, mileage or price numerical number is entered for , the application should display a message to the user informing them of this.

When the Remove Car is clicked and there are no items in the ListBox must be displayed to the user to inform them of this.

The application should also have a menu, with sub-menu options: About and Exit. The About menu should show the application’s developer name as well as the date the application was developed.

When the Exit menu option is clicked, it should display a confirmation dialog box where the user has to confirm whether or not they would like to terminate the application

When Yes is clicked, the application must terminate, but when No is clicked, the application must remain open.

1.2 Mention five things that you can include in the application to improve its functionality.

Please use the Joyce Ferral C# textbook 2017 edition, as reference when answering this question. And use the knowledge from character 1 to 12 to answer this question not more than that. The images attached are what the GUI form should look like any image used as the logo is acceptable. 

ITCPA2-B11 - Assignment Block 1 2021 | V1.0
Page 10 of 13
When the Exit menu option is clicked, it should display a confirmation dialog box where the user
has to confirm whether or not they would like to terminate the application:
E MotorHub Car Inventory App
Menu
Welcome to MotorHub Inventory App
Inventory Number:
INV201
Inventor Number
INV205
INV202
INV203 Confirm
INV204
INV205
Rolls-Royce
? Are you sure you want to quit?
del:
Cullinan
2021
Yes
No
100
Price (Randa)
14999995
Add Car
Remove Car
Figure 6 - Confirmation Dialog Box
When Yes is clicked, the application must terminate, but when No is clicked, the application m
10
remain open.
(75 Marks)
1.2 Mention five things that you can include in the application to improve its functionality.
(5 Marks)
Once
are done with the assignment, zip and upload all your code, together with the
assignment documentation.
[Sub Total 80Marks]
End of Question 1
ITCPA2-B11 - Assignment Block 1 2021 | V1.0
Page of 13
Transcribed Image Text:ITCPA2-B11 - Assignment Block 1 2021 | V1.0 Page 10 of 13 When the Exit menu option is clicked, it should display a confirmation dialog box where the user has to confirm whether or not they would like to terminate the application: E MotorHub Car Inventory App Menu Welcome to MotorHub Inventory App Inventory Number: INV201 Inventor Number INV205 INV202 INV203 Confirm INV204 INV205 Rolls-Royce ? Are you sure you want to quit? del: Cullinan 2021 Yes No 100 Price (Randa) 14999995 Add Car Remove Car Figure 6 - Confirmation Dialog Box When Yes is clicked, the application must terminate, but when No is clicked, the application m 10 remain open. (75 Marks) 1.2 Mention five things that you can include in the application to improve its functionality. (5 Marks) Once are done with the assignment, zip and upload all your code, together with the assignment documentation. [Sub Total 80Marks] End of Question 1 ITCPA2-B11 - Assignment Block 1 2021 | V1.0 Page of 13
ITCPA2-B11 - Assignment Block 1 2021 | V1.0
Page 5 of 13
The application should look as follows:
9 MotorHub Car Inventory App
Menu
Title
MenuStrip
Welcome to MotorHub Inventory App
PictureBox
Labels
ar List
hventory Number:
Car Name:
Ear Model
ТextBoxes
ListBox
Year:
Mileage:
Price (Rands):
Buttons
Add Car
Remove Car
Figure 1- User Interface Design
ITCPA2-B11 - Assignment Block 1 2021 | V1.0
Page 6 of 13
When a user enters the car details and clicks the "Add Car" button, a new Car object must
be created and stored in an ArrayList. At the same time, a method must upda"
ListBox with the inventory number. This will allow the user to select an inve
and the car details will be displayed in the textboxes. Ensure that only numer
entered for the Year, Mileage and Price. Figure 2 below shows a successful a
car details:
Transcribed Image Text:ITCPA2-B11 - Assignment Block 1 2021 | V1.0 Page 5 of 13 The application should look as follows: 9 MotorHub Car Inventory App Menu Title MenuStrip Welcome to MotorHub Inventory App PictureBox Labels ar List hventory Number: Car Name: Ear Model ТextBoxes ListBox Year: Mileage: Price (Rands): Buttons Add Car Remove Car Figure 1- User Interface Design ITCPA2-B11 - Assignment Block 1 2021 | V1.0 Page 6 of 13 When a user enters the car details and clicks the "Add Car" button, a new Car object must be created and stored in an ArrayList. At the same time, a method must upda" ListBox with the inventory number. This will allow the user to select an inve and the car details will be displayed in the textboxes. Ensure that only numer entered for the Year, Mileage and Price. Figure 2 below shows a successful a car details:
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,