WinForms Development Guide
Modern .NET WinForms development for Designer-compatible applications with proper separation of concerns between Designer-generated code and application logic.
When to Use This Skill
Use this skill when:
- Creating new or maintaining existing WinForms projects or WinForms control libraries
- Developing Forms or UserControls to be compatible with the WinForms Designer
- Modernizing legacy WinForms applications or even legacy VB6 applications
- Setting up solution structures and configuration with enough evidence for using the WinForms projects as the UI stack.
Related Skills
For specialized topics, see:
- WinForms Designer Code
- WinForms Data Binding
- WinForms MVVM
- WinForms Rendering
- WinForms High-DPI Fluent Layout
Detailed Guidance
Read Detailed guide for comprehensive patterns, examples, and troubleshooting.
For opt-in enhancement features (dark mode, async APIs), see the focused guides dark mode and async APIs - these are only applied when explicitly requested or invoked by the winforms-feature-adoption scenario.
Workflow
- Confirm the scenario matches the triggers in this skill.
- Apply the baseline pattern from this file.
- Read Detailed guide for advanced or edge-case handling.
- Validate changes with an actual build and runtime check.