Skip to content
Windows Forms is a .NET Core UI framework for building Windows desktop applications.
C# Visual Basic .NET PowerShell Shell Rich Text Format CMake
Branch: master
Clone or download

Latest commit

dotnet-maestro Update dependencies from build 2020…
…0528.9 (#3365)

System.CodeDom , System.Configuration.ConfigurationManager , , , System.Drawing.Common , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App , Microsoft.NETCore.ILAsm , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , System.Windows.Extensions , System.Security.Permissions , System.Resources.Extensions , System.Security.Cryptography.Cng
 From Version 5.0.0-preview.6.20277.12 -> To Version 5.0.0-preview.6.20278.9

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]>
Latest commit afd5765 May 29, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add links in "new issue" flow to other related repos (#3286) May 14, 2020
Documentation Fix solution name in documentation (#3188) May 4, 2020
eng Update dependencies from build 2020… May 29, 2020
pkg Update templates to net5.0 (#3344) May 25, 2020
src Don't measure invalid ComboBox items (#3357) May 29, 2020
.editorconfig Update Microsoft.CodeAnalysis.PublicApiAnalyzers (#3157) Apr 29, 2020
.gitattributes Port ContentAlignmentEditor Nov 8, 2019
.gitignore [master] Update dependencies from dotnet/arcade (#622) Mar 28, 2019
CODEOWNERS add code owners to make adding PR reviewers easier (#61) Nov 19, 2018 Standardize docs formatting (#233) Jan 7, 2019
Directory.Build.props Merge remote-tracking branch 'remote/release/3.1' Jan 20, 2020
Directory.Build.targets fix: `PrintDialog` not shown (#2851) Mar 4, 2020
LICENSE.TXT Initial commit of (squashed) sample from… Oct 15, 2018
NuGet.config add dotnet tools feed (#3130) Apr 23, 2020 Update readme to refer to v3.1 and link to breaking changes (#2529) Dec 20, 2019
Restore.cmd Add intellisense blob as part of native toolset restore and int… (#1241) Jun 28, 2019 Add Feb 26, 2020
THIRD-PARTY-NOTICES.TXT add license notice for Ookii.Dialogs Nov 30, 2018
Winforms.sln [Refactoring] Added protection for MonthCalendarAccessibleObject (#2975) May 15, 2020
azure-pipelines.yml Take screenshots on build agents during tests (#3056) Apr 14, 2020
build-local.ps1 Update branding to Preview5 / Ship Preview4 API Apr 20, 2020
build.cmd rename binlog (#440) Feb 14, 2019 Make shell files in eng/common executable (#940) May 8, 2019
codecov.yml Update code coverage integration Dec 10, 2019
global.json Update dependencies from build 2020… May 29, 2020 Updated (#3304) May 19, 2020

Windows Forms

License: MIT

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 Designer

For more information about the designer, please see the Windows Forms Designer Documentation.

To learn about project priorities as well as status and ship dates see the Windows Forms Roadmap.

⚠️ This repository contains WinForms for .NET Core. It does not contain the .NET Framework variant of WinForms.

Windows Presentation Foundation (WPF) is another UI framework used to build Windows desktop applications which is supported on .NET Core. WPF and Windows Forms applications run only on Windows operating systems. They are part of the Microsoft.NET.Sdk.WindowsDesktop SDK. You are recommended to use Visual Studio 2019 Preview 1 to use WPF and Windows Forms with .NET Core.

Getting started

Build Status & Dependency Flow

Public CI ➡️ Internal CI ➡️ Core Setup CI ➡️ Core SDK CI
master Build Status Build Status Build Status Build Status
release/3.1 Build Status Build Status Build Status Build Status
release/3.0 Build Status Build Status Build Status Build Status

Code Coverage

Production Code
master codecov
release/3.1 codecov
release/3.0 codecov

How to Engage, Contribute, and Provide Feedback

Some of the best ways to contribute are to try things out, file bugs, join in design conversations, and fix issues.

.NET Framework issues

Issues with .NET Framework, including Windows Forms, should be filed on the Developer Community or Product Support websites. They should not be filed on this repository.

Reporting security issues

Security issues and bugs should be reported privately via email to the Microsoft Security Response Center (MSRC) You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter. Also see info about related Microsoft .NET Core and ASP.NET Core Bug Bounty Program.

Relationship to .NET Framework

This codebase is a fork of the Windows Forms code in the .NET Framework 4.8. In Windows Forms .NET Core 3.0, we've strived to bring the two runtimes to a parity. However, 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.

Code of Conduct

This project uses the .NET Foundation Code of Conduct to define expected conduct in our community. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a project maintainer at


.NET Core (including the Windows Forms repository) is licensed under the MIT license.

.NET Foundation

.NET Core WinForms is a .NET Foundation project.
See the .NET home repository to find other .NET-related projects.

You can’t perform that action at this time.