How liavhv/simpleinventario works
SimpleInventario is a WinForms inventory application. A user works through the Principal window to maintain measurement units and products, record stock entries and exits, and view inventory and product-movement reports. The window uses an Entity Framework context for inventory data; the README identifies LocalDB as the database. Report templates and the kardex capability are documented, but their runtime wiring is not shown in the excerpts, so those links are marked unverified.
Main entry points: ApplicationDbContext.cs Entity Framework context · Principal.cs Inventory window · Program.cs Application startup · Unidades.cs Unit catalog
Components 12
Desktop interface
- Application startup
SimpleInventario/Program.cs - Inventory window
SimpleInventario/Principal.cs
Inventory catalog
- Unit catalog
SimpleInventario/Models/Unidades.cs - Product catalog
SimpleInventario/Models/Productos.cs
Stock movements
- Stock entries
SimpleInventario/Models/Entradas.cs - Stock exits
SimpleInventario/Models/Salidas.cs
Reports and persistence
- Entity Framework context
SimpleInventario/Models/ApplicationDbContext.cs - LocalDB database
- Report dataset
SimpleInventario/Reportes/dsReportes.cs - Stock report
SimpleInventario/Reportes/ReportExistencias.rdlc - Product kardex
SimpleInventario/Reportes/ReportKardex.rdlc
Other components
- User
Connections 12
- User → Application startup: starts app
SimpleInventario/Program.cs - Application startup → Inventory window: opens window
SimpleInventario/Program.cs - User → Inventory window: uses
- Inventory window → Entity Framework context: queries and saves
SimpleInventario/Principal.cs - Entity Framework context → Unit catalog: maps set
SimpleInventario/Models/ApplicationDbContext.cs - Entity Framework context → Product catalog: maps set
SimpleInventario/Models/ApplicationDbContext.cs - Entity Framework context → Stock entries: maps set
SimpleInventario/Models/ApplicationDbContext.cs - Entity Framework context → Stock exits: maps set
SimpleInventario/Models/ApplicationDbContext.cs - Entity Framework context → LocalDB database: connects to
- Inventory window → Report dataset: fills and refreshes
SimpleInventario/Principal.cs - Inventory window → Stock report: displays report
- Inventory window → Product kardex: offers report