Windows Forms
模板参数错误!(代码36)
|
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
- Gtk#: wrapper for the GTK+ toolkit.
- VCL.NET: Borland's wrapper for the Win32 widgets, provided as part of Delphi.NET.
- DotGNU: draws the widgets itself.
- wx.net: wrapper around wxWidgets, which is a wrapper around the native widgets of multiple operating systems