The project
This layered C# WinForms application centralizes day-to-day pharmacy operations. It manages medicines, batches, inventory, employees, customers and sales invoices through one desktop interface.
Operational features
- Medicine and batch records with searchable, filterable views.
- Inventory tracking and sales-invoice management.
- Employee and customer information management.
- Statistics and operational charts built with ScottPlot.
- Role-based access for different application responsibilities.
Data architecture
The application uses Entity Framework Core with Npgsql to access PostgreSQL hosted on Supabase. The layered structure separates interface, application logic and persistent data concerns.
Local security
The remember-me workflow stores encrypted local tokens using Windows ProtectedData, keeping persisted credentials protected for the active Windows user.