M2S Pharma 💊
M2S Pharma is a simple pharmacy management system built using C# and Windows Forms. This project is designed for training purposes and demonstrates core programming concepts such as CRUD operations, UI design, and basic business logic.
📌 Overview
The application simulates a small pharmacy system where a single administrator can manage medicines, handle sales, and monitor expired products.
«
✨ Features
- 🔐 Login system (single administrator)
- 🛒 Point of Sale (POS) interface for handling purchases
- 📦 Manage medicines (Add, Update, Delete)
- 🔍 Search medicines by ID
- 🧾 Automatic invoice calculation
- 📄 Export invoices as PDF
- ⏰ View and remove expired medicines
🖥️ Application Structure
The application contains three main interfaces:
-
POS Interface
- Handles customer purchases
- Calculates total price
- Generates invoice
-
Medicine Management (CRUD)
- Add new medicines
- Edit existing ones
- Delete medicines
-
Expired Medicines
- Displays expired products
- Allows removing them from the system
🧰 Technologies Used
- C#
- Windows Forms (.NET)
🚀 How to Run
- Open the project using Visual Studio
- Build the solution
- Run the application
«You can also generate an ".exe" file from Visual Studio if needed.»
🔐 Login
The system supports a single administrator account.
«(You can modify the credentials directly in the code)»
🎯 Purpose
This project was developed as a training exercise to practice:
- Windows Forms development
- CRUD operations
- Application structure and UI design
- Basic pharmacy workflow simulation
- Data is not saved (stored in memory only)
- Single-user system
- Not intended for production use
📄 License
This project is for educational purposes.