How q-tran14/manage-eyewear-store works
Project type and purpose
• This is a WinForms-based desktop management system (“eyewear-store-management-system”) for an eyewear shop.
• It implements a classic 3-tier architecture: Presentation (WinForms UI), Business Logic (BLL project), and Data Access (DAL project), persisting data to a SQL Server database defined by ESMDS.sql.
• Additional functionality includes custom UI components, shared utilities, and an external Location API integration.
File structure
• Top-level projects:
• BLL (Business Logic Layer) – contains CustomerBLL, InvoiceBLL, etc.
• DAL (Data Access Layer) – contains CustomerDAL, InvoiceDAL, plus an Object folder for POCOs, and Utils/UtilityDatabase for DB connectivity.
• eyewear-store-management-system (WinForms UI) – forms (MainForm, LoginForm, InvoiceManagementForm, etc), CustomComponents, and UI Utils (e.g., ToastManager, UtilityDataGridView, LocationAPIUtils).
• Infrastructure files:
• ESMDS.sql – SQL script to create the database schema.
• Solution file (.sln) ties the three projects together.
• Config file (App.config) for connection strings.
README
• Instructs to run the SQL script to provision the database, then launch the WinForms app.
Detailed capture of essential elements
• Break each layer into its major sub-components—for DAL: “Data Objects” vs. “Repositories” vs. “Database Utility”; for UI: “Forms”, “CustomComponents”, “Utils”.
• How utility libraries (security, imaging, toasts) are shared across forms.