A comprehensive desktop application developed in C# with SQL Server for efficient management of store operations such as employee, client, product, order, and billing systems.
Pi Store Management Software is a .NET-based Windows Forms application built for streamlining daily operations at a retail store. It automates critical business functions like:
- Employee and client management
- Product inventory tracking
- Order placement and processing
- Automated invoice generation
- Data export and visualization
The project was developed as a midterm assignment for the .NET Engineering course at Ton Duc Thang University, supervised by PhD. Nguyen Ngoc Phien.
- Nguyễn Thành Đạt aka DatDev
- GitHub Repository
- Role-based access: Admin, Employee, Cashier
- Secure login and session handling
- Add/edit/delete employee and client data
- View order history and basic analytics
- Add/update/delete products
- Real-time stock updates
- Low-stock alerts
- Add/remove products to cart
- Place orders, cancel, view history
- Invoice creation and payment tracking
- Discount support
- Export invoices to CSV
- Sales report generation
- CSV Export (Clients, Products, Orders)
- Visual charts for analytics
The system uses a Three-Layer Architecture:
- Presentation Layer (UI): Windows Forms
- Business Logic Layer (BLL): Core logic and validation
- Data Access Layer (DAL): SQL Server interaction
- Language: C# (.NET Framework)
- Database: SQL Server
- IDE: Visual Studio
- Tools: Trello (PM), Git (Version Control)
.
├── Forms/
│ ├── LoginForm.cs
│ ├── MainForm.cs
│ └── ...
├── BLL/
│ └── EmployeeManager.cs
├── DAL/
│ └── Database.cs
├── Models/
│ └── Product.cs
├── Resources/
│ └── App.config
└── README.mdOver 30 test cases were performed including:
- ✅ Login/logout
- ✅ Add/update/delete for employees, clients, products
- ✅ Role-based access checks
- ✅ Order validation
- ✅ Error handling and edge case management
Some failed tests:
- ❌ Discount logic validation
- ❌ Session timeout behavior
See full UI walkthrough in project report
| Login Page | Main Dashboard | Client Form |
|---|---|---|
![]() |
![]() |
![]() |
- Microsoft Docs – C# Fundamentals
- Waterfall SDLC Model – Tutorialspoint
- IEEE 829-2008 Testing Standard
This project is part of a university academic requirement and not intended for commercial use. See LICENSE for more information.


