| 12345678910111213141516171819202122 |
- WinForms .NET 10 template
- ========================
- 1. Execute SQL_SERVER_SETUP.sql in Microsoft SQL Server.
- 2. Open this folder in Visual Studio with .NET 10 SDK installed.
- 3. Check ConnectionSettings.cs or set TRADE_APP_CONNECTION.
- 4. Build and run TradeApp.WinForms.
- Forms are generated in the normal Visual Studio WinForms structure:
- LoginForm.cs + LoginForm.Designer.cs
- ProductListForm.cs + ProductListForm.Designer.cs
- ProductDetailsForm.cs + ProductDetailsForm.Designer.cs
- ProductEditForm.cs + ProductEditForm.Designer.cs
- OrderListForm.cs + OrderListForm.Designer.cs
- OrderDetailsForm.cs + OrderDetailsForm.Designer.cs
- OrderEditForm.cs + OrderEditForm.Designer.cs
- The visual layout is located in .Designer.cs files. The .cs files contain event handlers and database logic.
- Choose a search field in the product list. Double-click a product row to open its details card.
- Double-click an order row to open the order details card.
- Images are copied to the Images folder. Product rows use ImagePath from the database.
- If the file is missing, the UI falls back to picture.png.
|