A simple Windows Forms administration tool for managing market data (Clients, Categories, Factories, Products, Receipts, Sales, Records). This README documents how to build, run, and use the application and contains placeholders for screenshots showing key flows: creating, updating, deleting, exporting, filtering, and the Home page.
- Overview
- Prerequisites
- Build & Run
- Project structure
- Usage
- Screenshots (placeholders)
- Contributing
- License
- Contact
This desktop application (WinForms, .NET 8) provides CRUD operations and reporting for a simple market database. It uses a layered architecture with:
- Data access:
Market.DataAccess(SQL repositories) - Business logic:
Market.BusinessModelandMarket.BusinessModel.Internal(services) - Presentation:
Market.WindowsForm(WinForms controllers and forms)
- Create / Read / Update / Delete records for domain entities
- Filtering and sorting with reusable filter dialogs
- Export grids to XML
- Simple dashboard: top products and current month earnings
- .NET 8 SDK
- SQL Server (local or remote) with the required schema
- Visual Studio 2022 (recommended) or
dotnetCLI
Ensure your App.config / configuration includes a connection string named MarketDb.
- Open the solution in Visual Studio 2022.
- Restore NuGet packages.
- Update the
MarketDbconnection string inApp.config(orappsettingsif used) to point to your SQL Server instance. - Run the project (
F5) or usedotnet runfor the WinForms project.
Note: Some reporting features call stored procedures. Ensure the database contains the procedures (see
Market.DataAccess/SqlProcedures.sql).
Market.WindowsForm- WinForms UI, controllers, and forms.Market.BusinessModel- domain models, requests, and service interfaces.Market.BusinessModel.Internal- service implementations and ServiceFactory.Market.DataAccess- SQL repository and reporting repository.Market.DataAccess.Factories- repository factory.Styles,Forms, andControls- WinForms resources and controls.
Open the app and use the navigation buttons to switch controllers (Clients, Categories, Factories, Products, Sales, Receipts, Records, Home).
-
Create
- Click
Createin the controller panel. - Fill required fields in the modal create form.
- Click
Save.
- Click
-
Update
- Double-click a grid row or select and click
Update(if present). - Modify fields in the modal update form.
- Click
Updateto persist changes.
- Double-click a grid row or select and click
-
Delete
- Select a row and click
Delete. - Confirm the deletion in the confirmation dialog.
- Select a row and click
-
Export
- Click
Exporton a controller to export the grid to XML. - A file save dialog will ask for the destination.
- Click
-
Filter
- Click
Filterto open the filter dialog for the current controller. - Choose filter/sort options and click
Filter(Apply).
- Click
-
Home
- Shows dashboard information: top products and current month earnings.
Add screenshots into docs/screenshots/ and update the README to display them.
-
Create flow
-
Update flow
-
Delete flow
-
Export flow
-
Filter flow
-
Home page
Serbanoiu Robert: serbanoiurobert29@gmail.com
- Added headings and subheadings for better organization and readability.
- Included a "Common features" section under "Overview" for clarity.
- Enhanced the note in the "Build & Run" section for emphasis.
- Used bold formatting for key terms and section titles to improve visibility.
- Ensured consistent formatting throughout the document for a professional appearance.





