Windows Forms

Windows Forms 是一个用于构建 Windows 桌面应用程序的 .NET Core UI 框架。「Windows Forms is a .NET Core UI framework for building Windows desktop applications.」

Github stars Tracking Chart

Windows Forms

Windows Forms(WinForms)是一个用于构建Windows桌面应用程序的UI框架,它是Windows用户界面库的.NET封装器,如User32和GDI+。它是Windows用户界面库(如User32和GDI+)的.NET封装器。它还提供了Windows Forms特有的控件和其他功能。

Windows Forms还提供了一种基于Visual Studio提供的可视化设计器来创建桌面应用程序的最有效的方法。它可以实现可视化控件的拖放和其他类似的功能,使其很容易构建桌面应用程序。

Windows 窗体设计器

有关设计器的更多信息,请参见 Windows Forms Designer 文档

与 .NET 框架的关系

这个代码库是 .NET 框架 4.8 中 Windows Forms 代码的一个分叉。在 Windows Forms .NET Core 3.0 中,我们努力使这两个运行时达到了同等水平。然而从那时起,我们做了一些改变,包括突破性的改变,使两者产生了分歧。有关突破性变化的更多信息,请参见 移植指南

请注意

警告:这个资源库只包含 Windows Forms for .NET 平台的实现。

  • .NET Framework variant of Windows Forms. Issues with .NET Framework, 包括 Windows Forms 有关的问题应在 开发者社区产品支持 网站上提交。它们不应该提交到这个版本库。
  • Windows Forms Designer 的实现。与设计器有关的问题应通过 VS 反馈工具(Visual Studio 中右上角的图标)提交。

我怎样才能做出贡献?

我们欢迎你的贡献。世界各地的许多人已经帮助这个项目变得更好。

如何参与、贡献和提供反馈?

贡献的一些最好的方式是尝试一些东西,提交 bug,加入设计对话,并修复问题:

.NET 框架问题

与 .NET 框架(包括 WPF)有关的问题应提交到 VS 开发者社区产品支持 中。它们不应该提交到这个软件 repo。

与 .NET Framework 的关系

这个代码库是 .NET 框架中 WPF 代码的一个分叉。.NET Core 3.0 发布时,目标是让 WPF 与 .NET 框架版本具有同等性。随着时间的推移,这两种实现可能会出现分歧。

关于 .NET Core 3.0 和 .NET Framework 4.8 的更新 很好地描述了 .NET Core和.NET Framework 之间的前瞻性差异。

更新 说明了如何向前发展 .NET Core 是 .NET 的未来,而 .NET Framework 4.8 将是 .NET Framework 的最后一个主要版本。

行为准则

本项目使用 .NET 基金会行为准则 来定义我们社区中的预期行为。滥用、骚扰或其他不可接受的行为实例可以通过联系项目维护者来报告:conduct@dotnetfoundation.org。

报告安全问题和安全漏洞

安全问题和错误应通过电子邮件私下报告给 Microsoft 安全响应中心 (MSRC) secure@microsoft.com。您应该在24小时内收到回复。如果由于某些原因您没有收到,请通过电子邮件跟进,以确保我们收到您的原始信息。更多信息,包括MSRC PGP密钥,可以在 安全技术中心 找到。

此外,还可以查看相关的 Microsoft .NET Core 和 ASP.NET Core Bug Bounty 计划 的信息。

许可证

.NET Core(包括 Windows Forms)采用 MIT 许可

.NET 基础

.NET Windows Forms 是一个 .NET 基金会 项目。

请参阅 .NET home repo 来查找其他 .NET 相关项目。


Overview

Name With Ownerdotnet/winforms
Primary LanguageC#
Program languageBatchfile (Language Count: 12)
PlatformWindows
License:MIT License
Release Count158
Last Release Namev8.0.5 (Posted on )
First Release Namev1.0.0-preview.18566.4 (Posted on 2018-11-30 14:58:47)
Created At2018-10-19 01:54:02
Pushed At2024-05-14 16:07:25
Last Commit At
Stargazers Count4.2k
Watchers Count320
Fork Count0.9k
Commits Count9.3k
Has Issues Enabled
Issues Count2942
Issue Open Count579
Pull Requests Count7589
Pull Requests Open Count35
Pull Requests Close Count591
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

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.

:warning: 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

  • .NET Core 3.1 SDK
  • [Getting started instructions][getting-started]
  • [Contributing guide][contributing]
  • [Porting guide][porting-guidelines]

Build Status & Dependency Flow

To the top