Skip to content

Latest commit

 

History

History
97 lines (62 loc) · 3.39 KB

File metadata and controls

97 lines (62 loc) · 3.39 KB

Bike Management System Desktop

Desktop App written in C# for managing bikes in a rental service. Uses WinForms as a GUI.

Compiling

Bike Management System requires at least .NET 9 to run.

  1. Compile project using VS Studio 2022 with C# and .NET extensions installed

Migration

Update DesignTimeBikeManagementDbContext.cs in BikeManagementSystemLib to your needs.

Creating migration

Add-Migration InitialCreate -Project BikeManagementSystemLib -StartupProject BikeManagementSystemDesktop

Updating database

Update-Database -Project BikeManagementSystemLib -StartupProject BikeManagementSystemDesktop

Running

  1. Compile code
  2. Do database migration
  3. Run app

Images

Bike table

Allows CRUD operations with pagination on bikes.

Bike table

Bike maintenances

Displays the bike's full maintenance history.

Bike maintenances

Add/edit bike form

Form used to create/update bikes.

Bike add form

Vendor table

Supports CRUD operations with pagination on vendors.

Vendor table

Bike type table

Provides CRUD operations with pagination support on bike types.

Bike type table

Bike type wear ratios

Allows setting bike wear ratios for terrains.

Bike type wear ratios table

Wear ratio update form

Used to update wear ratio for selected bike type and terrain.

Bike type wear ratio edit form

Bike rental

Allows to rent bikes for selected client.

Bike rental

Active rentals table

Shows active rentals with pagination and lets you return bikes from a selected rental.

Active rentals table

Active rental form

Displays details of the selected rental and rented bikes. Used to return them.

Active rental form

Return bike form

Allows to describe state in which bike was returned.

Return bike form

Worn bikes

Displays bikes requiring maintenance.

Worn bikes table

Maintenance form

Used to describe bike maintenance process.

Maintenance form

Terrain table

Supports CRUD operations with pagination on terrains.

Maintenance form