Skip to content

Invoice Management: A .NET Framework Windows Forms app for managing invoices, with data entry and user management features. πŸ’³

Notifications You must be signed in to change notification settings

KhalilAmamri/InvoiceManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“‹ Invoice Management

Invoice Management is a professional .NET Framework Windows Forms application designed to streamline invoice creation, management, and user handling. Built for small businesses or personal use, it offers an intuitive interface for data entry and user administration.


πŸš€ Overview

This project provides a robust solution for managing invoices, including features for adding, viewing, and editing invoice details, along with user authentication and management capabilities.

login image

startmenu

gestion_utlisateur

gestion_client

gestion_article

gestion_facture

exit.png

πŸ“Š Database Diagram

Below is a visual representation of the database schema:

Database Diagram


✨ Features

  • πŸ“ Invoice Creation: Easily create and edit invoices with a user-friendly interface.
  • πŸ‘€ User Management: Add, view, and manage users with secure access.
  • πŸ”’ Authentication: Simple login system to protect sensitive data.
  • πŸ’Ύ Data Persistence: Stores data locally (requires setup with a database like SQL Server).
  • 🎨 Modern UI: Clean and responsive design using Windows Forms.

πŸ› οΈ Technologies Used

  • Language: C# (.NET Framework)
  • Framework: Windows Forms
  • Database: SQL Server (configurable)
  • IDE: Visual Studio

πŸ“‹ Prerequisites

Before running the project, make sure you have the following installed:

  • Windows OS with .NET Framework 4.5 or higher.
  • Visual Studio (Community Edition recommended).
  • SQL Server (e.g., SQL Server Express).
  • Git for version control and cloning the repository.

πŸš€ Getting Started

Installation

  1. Clone the repository:
    git clone https://github.com/KhalilAmamri/InvoiceManagement.git
    cd InvoiceManagement
  2. Open the project in Visual Studio.
  3. Configure the database connection in connect_db.cs if needed.
  4. Build and run the solution.

Database Setup

  1. Install SQL Server (e.g., SQL Server Express) and SQL Server Management Studio (SSMS).
  2. Open SSMS and connect to your SQL Server instance (e.g., .\SQLEXPRESS).
  3. Run the SQL script to create the database and tables:
    sqlcmd -S .\SQLEXPRESS -i Database/database.sql
    Or open Database/database.sql in SSMS and click Execute.
  4. Update the connection string in connect_db.cs:
    string connectionString = "Data Source=.\\SQLEXPRESS;Initial Catalog=DB_GestionFacture;Integrated Security=True";

Note: Adjust file paths in the script (.mdf and .ldf) if needed to match your SQL Server data directory.

Running the Application

  1. Open main.cs or the startup form in Visual Studio.
  2. Press F5 to build and run the project.

## πŸ“‚ Project Structure
InvoiceManagement/
β”œβ”€β”€ Database/
β”‚ └── database.sql # SQL script to create the database and tables
β”œβ”€β”€ images/
β”‚ └── database_diagram.png # Database schema diagram
β”œβ”€β”€ FormGestionFactures.cs # Invoice management form
β”œβ”€β”€ FormGestionFactures.Designer.cs
β”œβ”€β”€ FormGestionFactures.resx
β”œβ”€β”€ FormLogin.cs # Login form
β”œβ”€β”€ FormLogin.Designer.cs
β”œβ”€β”€ FormLogin.resx
β”œβ”€β”€ connect_db.cs # Database connection logic
β”œβ”€β”€ main.cs # Application entry point
β”œβ”€β”€ .gitignore # Git ignore file
└── README.md # This file


🀝 Contributing

We welcome contributions! To contribute:

  1. Fork the repository.
  2. Create a feature branch:
    git checkout -b feature/new-feature
  3. Commit your changes:
    git commit -m "Add new feature"
  4. Push to the branch:
    git push origin feature/new-feature
  5. Open a Pull Request.

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.


πŸ‘€ Author


πŸ™Œ Acknowledgments

  • Inspired by .NET Framework community resources.
  • Thanks to all contributors and users!

About

Invoice Management: A .NET Framework Windows Forms app for managing invoices, with data entry and user management features. πŸ’³

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published