dotnet-winforms-basics

Installation
SKILL.md

dotnet-winforms-basics

WinForms on .NET 8+: updated project templates with Host builder and DI, high-DPI support with PerMonitorV2, dark mode via Application.SetColorMode (experimental in .NET 9, targeting finalization in .NET 11), when to use WinForms, modernization tips for migrating from .NET Framework, and common agent pitfalls.

Version assumptions: .NET 8.0+ baseline (current LTS). TFM net8.0-windows. .NET 9 features (dark mode experimental) explicitly marked. .NET 11 finalization targets noted.

Scope

  • WinForms .NET 8+ project setup (SDK-style)
  • High-DPI support with PerMonitorV2
  • Dark mode via Application.SetColorMode (experimental)
  • Host builder and DI patterns
  • Modernization tips from .NET Framework

Out of scope

  • WinForms .NET Framework patterns (legacy)
  • Migration guidance -- see [skill:dotnet-wpf-migration]
  • Desktop testing -- see [skill:dotnet-ui-testing-core]
Related skills

More from novotnyllc/dotnet-artisan

Installs
6
GitHub Stars
208
First Seen
Feb 24, 2026