MainForm.Designer.cs

MainForm.Designer.cs contains the WinForms designer-generated UI layout for MainForm.cs. It declares controls, menus, panels, toolbar elements, and event wiring generated by the Windows Forms designer. winforms designer

Edit boundary

Treat this file as designer-owned. Behavior should usually be changed in MainForm.cs, not by manually reshaping generated designer code.

Responsibilities

AreaBehavior
Control declarationsDefines editor controls, menus, buttons, panels, and status areas.
LayoutStores WinForms layout, sizing, docking, and visual structure.
Event wiringConnects UI events to handlers implemented in MainForm.cs.
Designer compatibilityKeeps the form editable through WinForms tooling.

Relationship

graph LR
    A[MainForm.Designer.cs] --> B[Generated controls]
    B --> C[MainForm.cs handlers]
    C --> D[Converter / Bridge / Validator]

Related notes: Component Map, MainForm.cs, 01 - Project Architecture.