WTG.Windows.Forms
0.2.17
Prefix Reserved
dotnet add package WTG.Windows.Forms --version 0.2.17
NuGet\Install-Package WTG.Windows.Forms -Version 0.2.17
<PackageReference Include="WTG.Windows.Forms" Version="0.2.17" />
<PackageVersion Include="WTG.Windows.Forms" Version="0.2.17" />
<PackageReference Include="WTG.Windows.Forms" />
paket add WTG.Windows.Forms --version 0.2.17
#r "nuget: WTG.Windows.Forms, 0.2.17"
#:package WTG.Windows.Forms@0.2.17
#addin nuget:?package=WTG.Windows.Forms&version=0.2.17
#tool nuget:?package=WTG.Windows.Forms&version=0.2.17
WTG.Windows.Forms
WiseTech Global's fork of System.Windows.Forms that restores controls deprecated in .NET Core 3.1 and .NET 5, including DataGrid, Menu, ToolBar, and StatusBar.
Overview
When Microsoft moved Windows Forms to .NET Core, several legacy controls were removed. This package brings those controls back, allowing WiseTech Global applications to migrate to modern .NET runtimes without requiring an immediate rewrite of UI code that relies on these controls.
Getting Started
Add the package to your project:
<PackageReference Include="WTG.Windows.Forms" Version="*" />
Then use the restored controls as you would in .NET Framework — no API changes are required.
Restored Controls
| Control | Description |
|---|---|
DataGrid |
Displays ADO.NET data in a scrollable grid |
MainMenu / ContextMenu |
Classic menu controls |
MenuItem |
Individual items within a MainMenu or ContextMenu |
ToolBar / ToolBarButton |
Legacy toolbar control |
StatusBar / StatusBarPanel |
Legacy status bar control |
Source
This package is based on the dotnet/winforms repository, which is itself a fork of the Windows Forms implementation from .NET Framework 4.8.
License
Licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Win32.SystemEvents (>= 10.0.3)
- System.Configuration.ConfigurationManager (>= 10.0.3)
- System.Drawing.Common (>= 10.0.3)
- System.Formats.Nrbf (>= 10.0.3)
- System.Resources.Extensions (>= 10.0.3)
- System.Windows.Extensions (>= 10.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.17 | 108 | 9/1/2026 |
| 0.2.17-prerelease-d4538375-... | 103 | 8/31/2026 |
| 0.2.16 | 227 | 8/26/2026 |
| 0.2.16-prerelease-15c7a22bd... | 97 | 8/23/2026 |
| 0.2.15 | 116 | 8/14/2026 |
| 0.2.15-prerelease-429D7F43-... | 106 | 8/13/2026 |
| 0.2.14 | 126 | 7/20/2026 |
| 0.2.14-prerelease-05a0b983-... | 114 | 7/15/2026 |
| 0.2.13 | 128 | 7/15/2026 |
| 0.2.13-prerelease-f96f18bf-... | 127 | 7/13/2026 |
| 0.2.13-prerelease-bd1ab0e0-... | 97 | 7/13/2026 |
| 0.2.13-prerelease-a9bccb5a-... | 121 | 7/14/2026 |
| 0.2.13-prerelease-8e2b5d18-... | 151 | 7/13/2026 |
| 0.2.13-prerelease-67923c77-... | 101 | 7/13/2026 |
| 0.2.13-prerelease-458ab58d-... | 118 | 7/13/2026 |
| 0.2.13-prerelease-30e1152c-... | 126 | 7/8/2026 |
| 0.2.13-prerelease-06103a05-... | 125 | 7/8/2026 |
| 0.2.12 | 153 | 7/1/2026 |
| 0.2.12-Prerelease-67a9d9af0... | 112 | 6/24/2026 |
| 0.2.11 | 135 | 6/23/2026 |
Handle disposed AsyncWaitHandle during BeginInvoke completion, version 0.2.17, PR link: https://github.com/WiseTechGlobal/winforms/pull/42