dotnet /winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.

★ 4,881⑂ 1,128👁 301⑃ 11,143● 4,029▤ 175
C#MITCreated 2018-10-19
Download: .NET 10.0.8.NET-10.0.8 ↓10.0.82026-05-12
-1
Daily
4,881
stars
1,128
forks
301
watchers
11,143
prs
4,029
issues
175
releases

README

Windows Forms



Windows Forms (WinForms) is a UI framework for building Windows desktop applications. It is a .NET wrapper over Windows user interface libraries, such as User32 and GDI+. It also offers controls and other functionality that is unique to Windows Forms.

Windows Forms also provides one of the most productive ways to create desktop applications based on the visual designer provided in Visual Studio. It enables drag-and-drop of visual controls and other similar functionality that make it easy to build desktop applications.

 Windows Forms Out-Of-Process Designer

For information about the WinForms Designer supporting the .NET runtime and the changes between the .NET Framework Designer (supporting .NET Framework up to version 4.8.1) vs. the .NET Designer (supporting .NET 6, 7, 8, 9+), please see Windows Forms Designer Documentation.

Important: As a Third Party Control Vendor, when you migrate controls from .NET Framework to .NET, your control libraries _at runtime_ are expected to work as before in the context of the respective new TFM (special modernization or security changes in the TFM kept aside, but those are rare breaking changes). Depending on the richness of your control's design-time support, the migration of control designers from .NET Framework to .NET might need to take a series of areas with breaking changes into account. The provided link points out additional resources which help in that migration process.

 Relationship to .NET Framework

This codebase is a fork of the Windows Forms code in the .NET Framework 4.8. 
We started the migration process by targeting .NET Core 3.0, when we've strived to bring the two runtimes to a parity. Since then, we've done a number of changes, including breaking changes, which diverged the two. For more information about breaking changes, see the [Porting guide][porting-guidelines].

 The bar for innovation and new features

WinForms is a technology which was originally introduced as a part of .NET Framework 1.0 on February 13th, 2002. It's primary focus was and is to be a Rapid Application Tool for Windows based Apps, and that principal sentiment has not changed over the years. WinForms at the time addressed developer's requests for

 A framework for stable, monolithic Line of Business Apps, even with extremely complicated and complex domain-specific workflows
 The ability to easily provide rich user interfaces
 A safe and - over the first 3 versions of .NET Framework - increasingly performant way to communicate across process boundaries via various Windows Communication Services, or access on-site databases via ADO.NET providers.
 A very easy to use, visual what-you-see-is-what-you-get designer, which requires little ramp-up time, and was primarily focused to support 96 DPI resolution-based, pixel-coordinated drag & drop design strategies.
 A flexible, .NET reflection-based Designer extensibility model, utilizing the .NET Component Model.
 Visual Controls and Components, which provide

Top issues

Discussions

Latest release

.NET 10.0.8 v10.0.8 2026-05-12
Release

 What's Changed
 [release/10.0]: Updating build agent image to VS 2022 GA release by @Shyam-Gupta in https://github.com/dotnet/winforms/pull/14314
 [release/10.0] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in https://github.com/dotnet/winforms/pull/14297
 [release/10.0] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in https://github.com/dotnet/winforms/pull/14315
 [release/10.0] Source code updates from dotnet/dotnet by @dotnet-maestro[bot] in https://github.com/dotnet/winforms/pull/14318
 [release/10.0]: Using VS2022 GA images for CI and CodeQL pi

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON