How tharumalx97/grocery_store works
This is a Windows grocery-store point-of-sale and back-office application. The principal workflow is staff login, opening the POS, recording a sale and persisting it; the back office provides product, category, customer, employee, and expense management. The tree also indicates inventory, attendance, payroll, returns, barcode printing, and messaging capabilities. Evidence is limited to the supplied excerpts and source index; links to unsampled features are omitted rather than inferred.
Main entry points: BackOffice.cs Back-office dashboard · frmPOS.cs Point of sale · Login.cs User login · Program.cs Application startup
Components 22
Startup and access
- Application startup
Program.cs - License activation
ActivationForm.cs - License settings
LicenseSettings.cs - User login
Login.cs - Session tracking
SessionManager.cs - Duration formatting
SessionDuration.cs
Point of sale
- Point of sale
frmPOS.cs - Sale and receipt
Sale.cs - Item returns
ReturnItems.cs
Store operations
- Back-office dashboard
BackOffice.cs - Product management
Products.cs - Category management
Categories.cs - Customer management
Customers.cs - Stock management
AddStock.cs
Staff and finance
- Employee management
Employees.cs - Attendance processing
ProcessAttendance.cs - Salary processing
frmProcessSalary.cs - Expense management
Expenses.cs
Store utilities
- Barcode printing
PrintBarcodeLabels.cs - SMS messaging
frmSendSMS.cs
Other components
- Store staff
- MySQL database
Connections 26
- Store staff → Application startup: starts app
Program.cs - Application startup → License activation: requests activation
Program.cs - Application startup → License settings: verifies license
Program.cs - Application startup → User login: shows login
Program.cs - User login → Session tracking: starts session
Login.cs - User login → Point of sale: opens POS
Login.cs - Session tracking → Duration formatting: formats duration
SessionManager.cs - Point of sale → Category management: references
frmPOS.cs - Point of sale → Sale and receipt: records sale
frmPOS.cs - Point of sale → User login: uses identity
frmPOS.cs - Point of sale → Session tracking: uses session
frmPOS.cs - Point of sale → MySQL database: writes sale
frmPOS.cs - Back-office dashboard → Product management: opens module
BackOffice.cs - Back-office dashboard → Category management: opens module
BackOffice.cs - Back-office dashboard → Employee management: opens module
BackOffice.cs - Back-office dashboard → Expense management: opens module
BackOffice.cs - Back-office dashboard → Customer management: opens module
BackOffice.cs - Product management → Category management: reads categories
Products.cs - Product management → MySQL database: reads and writes
Products.cs - Category management → MySQL database: reads and writes
Categories.cs - Customer management → MySQL database: reads and writes
Customers.cs - Sale and receipt → MySQL database: reads sale data
Sale.cs - Expense management → MySQL database: reads expenses
Expenses.cs - User login → MySQL database: checks credentials
Login.cs - Session tracking → MySQL database: stores sessions
SessionManager.cs - Back-office dashboard → MySQL database: reads dashboard data
BackOffice.cs