A Windows Forms C# .NET application for managing parts and products in a small manufacturing organization. This system enables users to add, modify, delete, and associate parts with products, replacing the outdated spreadsheet-based process.
-
Controls:
- Buttons:
Add
,Modify
,Delete
,Search
, andExit
- Lists: Display all parts and products
- Textboxes: Search for parts and products
- Labels: Application title,
Parts
, andProducts
- Buttons:
-
Behaviors:
- Redirect to
Add
orModify
forms for parts and products - Delete selected parts or products (requires confirmation)
- Search and display matching results
- Exit the application
- Redirect to
-
Controls:
- Radio Buttons:
In-House
andOutsourced
- Buttons:
Save
andCancel
- Textboxes:
ID
,Name
,Inventory Level
,Price
,Max/Min Values
, andCompany Name
orMachine ID
- Labels: Corresponding to the textboxes and form title
- Radio Buttons:
-
Behaviors:
- Select part type (
In-House
orOutsourced
) - Enter part details and save
- Cancel and return to the main form
- Select part type (
- Controls: Same as the
Add Part
form, with fields pre-populated with the selected part data. - Behaviors:
- Modify part details and save changes
- Cancel and return to the main form
-
Controls:
- Buttons:
Save
,Cancel
,Add Part
, andDelete Part
- Textboxes:
ID
,Name
,Inventory Level
,Price
,Max/Min Values
- Labels: Corresponding to the textboxes and form title
- Grid Views: Display all parts and associated parts
- Search: Search field, button, and results list
- Buttons:
-
Behaviors:
- Enter product details and save
- Associate or disassociate parts with the product
- Cancel and return to the main form
- Controls: Same as the
Add Product
form, with fields pre-populated with the selected product data. - Behaviors:
- Modify product details and save changes
- Associate or disassociate parts with the product
- Cancel and return to the main form
- Classes: Developed according to the provided UML Class Diagram.
- Behaviors:
- Perform CRUD operations for parts and products
- Associate parts with products
The application prevents the following errors:
- Non-numeric input in fields requiring numeric values.
- Invalid bounds:
Min
greater thanMax
orInventory
outsideMin
/Max
. - Deletion of parts associated with a product.
- Accidental deletion without user confirmation.
- Programming Language: C#
- Framework: .NET Windows Forms
- Clone the repository:
git clone https://github.com/YourUsername/Products-Parts-Inventory-System.git
- Open the solution file in Visual Studio.
- Build and run the application.