b92906bdea4050f1fc725a76636ff7d0951392e7
Introduce Model-View-Presenter pattern to eliminate business logic from MainForm and enable proper separation of concerns. New files: - IMainView: Interface defining view contract - MainFormPresenter: Contains all business logic orchestration MainForm changes: - Implements IMainView interface - Delegates all business logic to presenter - Focused purely on UI rendering and user input - MessageBox calls now isolated to view implementation Presenter responsibilities: - Document operations (open, save, new) - Validation orchestration - Running packing algorithm - Coordinating between services and view - State management Benefits: - MainForm reduced from 380+ lines to clean view implementation - Presenter can be unit tested without UI - Business logic is reusable across different UI frameworks - Clear separation: View = UI, Presenter = logic, Services = domain - All SOLID principles now satisfied 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Description
A windows program for saw cutting.
Languages
C#
65.9%
HTML
29.7%
CSS
4.4%