How nicamaezurbano/c-sharp-project-with-database-connection works
OnlineShop is a Windows Forms shopping application backed by MySQL, with Crystal Reports used for reporting. The main workflow is account registration or login, browsing the catalog, saving items to a wishlist or cart, checking out into orders, and tracking order status; administrators manage catalog data and fulfillment. Forms issue SQL directly rather than through a separate data-access layer. Several form relationships and capabilities are documented by the source index or README, but their implementation was not sampled, so those links are omitted or marked unverified.
Main entry points: onlineshop.sql MySQL database · Login.cs Login · Admin.cs Admin dashboard · Customer.cs Storefront
Components 16
Access and accounts
- Application startup
OnlineShop/Program.cs - Login
OnlineShop/Login.cs - Registration
OnlineShop/Register.cs
Customer shopping
- Storefront
OnlineShop/Customer.cs - Shopping cart
OnlineShop/Cart.cs - Wishlist
OnlineShop/Wishlist.cs - Checkout
OnlineShop/Checkout.cs - Order tracking
OnlineShop/PlacedOrder.cs
Store management
- Admin dashboard
OnlineShop/Admin.cs - Category management
OnlineShop/Category.cs - Item management
OnlineShop/Item.cs - Order fulfillment
OnlineShop/Order.cs - Reporting view
OnlineShop/Report.cs - Crystal report
OnlineShop/CrystalReport1.cs
Database and reports
- MySQL database
onlineshop.sql
Other components
- User
Connections 25
- User → Application startup: starts
OnlineShop/Program.cs - Application startup → Login: opens
OnlineShop/Program.cs - User → Login: signs in
- Login → MySQL database: reads user
OnlineShop/Login.cs - Login → Admin dashboard: opens admin
OnlineShop/Login.cs - Login → Storefront: opens store
OnlineShop/Login.cs - Login → Registration: opens registration
OnlineShop/Login.cs - Registration → MySQL database: creates account
OnlineShop/Register.cs - Storefront → MySQL database: reads catalog
OnlineShop/Customer.cs - Storefront → MySQL database: saves selections
OnlineShop/Customer.cs - Storefront → Shopping cart: opens
OnlineShop/Customer.cs - Shopping cart → MySQL database: reads and updates
OnlineShop/Cart.cs - Shopping cart → Checkout: opens checkout
OnlineShop/Cart.cs - Wishlist → MySQL database: reads and updates
OnlineShop/Wishlist.cs - Wishlist → Shopping cart: adds item
OnlineShop/Wishlist.cs - Checkout → MySQL database: creates orders
OnlineShop/Checkout.cs - Order tracking → MySQL database: reads orders
OnlineShop/PlacedOrder.cs - Admin dashboard → Category management: opens
OnlineShop/Admin.cs - Admin dashboard → Item management: opens
OnlineShop/Admin.cs - Admin dashboard → Order fulfillment: opens
OnlineShop/Admin.cs - Admin dashboard → Reporting view: opens
OnlineShop/Admin.cs - Category management → MySQL database: manages categories
OnlineShop/Category.cs - Item management → MySQL database: manages items
OnlineShop/Item.cs - Order fulfillment → MySQL database: updates fulfillment
OnlineShop/Order.cs - Reporting view → Crystal report: uses report
OnlineShop/Report.cs