跳转到内容

Windows Forms

维基百科,自由的百科全书

这是本页的一个历史版本,由Rocman留言 | 贡献2006年4月23日 (日) 05:30编辑。这可能和当前版本存在着巨大的差异。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)

Microsoft Windows Forms 是微软的 .NET 开发框架的图形用户界面部分,该组件通过将现有的 Win32 应用程序编程接口 包装为托管代码提供了对 Windows 原生窗口小部件的访问方式。 我们可以见到,该组件作为先前的较复杂的基于 C++微软基础类库(Microsoft Foundation Classes,MFC)的替代品,它并没有提供与 Model View Controller “Document/View”架构相应的内容。“Document/View”架构已经被“MDI(多文档接口)”取代。

The implementation exists within the .NET Framework namespace System.Windows.Forms and tries to correctly theme itself on Windows XP. There are, however, significant issues with this support regarding tab sheets and controls placed on these sheets.

The Mono development platform tried several approaches for Windows Forms support. Early versions tried to implement Windows Forms as a wrapper for the Win32 API by using the Wine implementation of the API. Later, this functionality was removed from Mono in favor of a fully managed implementation. Currently a new Windows Forms library, where the widgets are rewritten in managed code and drawn using GDI+, is under active development.

Other GUI toolkits for .NET include