Assignment1 Cars
Assignment1 Cars
WEEK 6
You are asked to create a Windows form app .NET core that allows the user to
list all cars, add a new car or edit/delete the given car.
Only an administrator registered in file appsetings.json can create a new car or
edit/delete the given car.
Your program output may be look like as below:
I. Flow of forms
Confirm
Click menu “Logout” message
“Delete”? Click button “Delete”
LoginGUI
Page 1|5
II. Forms:
II.1. Form “CarGUI” for user
Requirements:
- List all cars (three properties: Make: string, Color: string, and
Petname: string).
- Show car detail by clicking button “Detail” to open
CarDetailGUI form as below
Page 2|5
If the name and password are the same of administrator stored
in appsettings.json file, form CarGUI for administrator will be
displayed
II.2. Form “CarGUI” for administrator
Requirements:
Page 3|5
Click button “Save” to add a new car into Database, then system
will check
o If car information is valid, a new car is added, the following
message will be displayed
Page 4|5
Click button “Yes” to delete this car from Database and the
following message will be displayed
GUI DTL
Settings LoginGUI CarGUI
Note: Here is structure of your Project
CarDetailGUI CarAddEditGUI
Car
Repository
DAL
CarDAO
Cars in Memory
Page 5|5