积极答复者
System.Windows.Forms 与 System.Windows.Controls 的区别

问题
答案
-
你好 System.Windows.Forms即为我们通常所说的 传统的WinForm的主要命名空间 请参考http://msdn.microsoft.com/zh-cn/library/system.windows.forms%28VS.80%29.aspx
而System.Windows.Controls命名空间是WPF /Silverlight中的控件 http://msdn.microsoft.com/zh-cn/library/system.windows.controls.aspx ,里边的控件名称可能和WinForm中的有些类似,但它有更多其他的控件,在表现上也是不一样的,WinForm的界面调用的GDI,而WPF/Silverlight是调用的DirectX~~~~
所以你可以感受到他们两者在用户交互和体验的区别是很大的。
不过大多控件的属性名称、事件方法等相似
Raymond Tang (Microsoft C# MVP)
Denn Ich Gehoer nur mir
.NET交流群71840452
微软中文论坛同城社区成都QQ群:74268428
My Chinese Blog
Chengdu,Sichuan Province,China- 已建议为答案 Kira Qian 2010年12月1日 2:43
- 已标记为答案 韦恩卑鄙 waywaModerator 2011年3月10日 13:14
-
你好
或者你可以參考以下URL
Controls
主要是提供 控件/元數 給使用者和應用程式INTERACTION
Provides classes to create elements, known as controls, that enable a user to interact with an application. The control classes are at the core of the user's experience with any application because they allow a user to view, select, or enter data or other information.
http://msdn.microsoft.com/zh-cn/library/system.windows.controls.aspx
Forms
主要是提供 Classes 給Windows-based Application,
The System.Windows.Forms namespace contains classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows operating system.
http://msdn.microsoft.com/zh-cn/library/system.windows.forms.aspx
Please correct me if my concept is wrong
Chi- 已标记为答案 韦恩卑鄙 waywaModerator 2011年3月10日 13:14
全部回复
-
你好
或者你可以參考以下URL
Controls
主要是提供 控件/元數 給使用者和應用程式INTERACTION
Provides classes to create elements, known as controls, that enable a user to interact with an application. The control classes are at the core of the user's experience with any application because they allow a user to view, select, or enter data or other information.
http://msdn.microsoft.com/zh-cn/library/system.windows.controls.aspx
Forms
主要是提供 Classes 給Windows-based Application,
The System.Windows.Forms namespace contains classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows operating system.
http://msdn.microsoft.com/zh-cn/library/system.windows.forms.aspx
Please correct me if my concept is wrong
Chi- 已标记为答案 韦恩卑鄙 waywaModerator 2011年3月10日 13:14
-
你好 System.Windows.Forms即为我们通常所说的 传统的WinForm的主要命名空间 请参考http://msdn.microsoft.com/zh-cn/library/system.windows.forms%28VS.80%29.aspx
而System.Windows.Controls命名空间是WPF /Silverlight中的控件 http://msdn.microsoft.com/zh-cn/library/system.windows.controls.aspx ,里边的控件名称可能和WinForm中的有些类似,但它有更多其他的控件,在表现上也是不一样的,WinForm的界面调用的GDI,而WPF/Silverlight是调用的DirectX~~~~
所以你可以感受到他们两者在用户交互和体验的区别是很大的。
不过大多控件的属性名称、事件方法等相似
Raymond Tang (Microsoft C# MVP)
Denn Ich Gehoer nur mir
.NET交流群71840452
微软中文论坛同城社区成都QQ群:74268428
My Chinese Blog
Chengdu,Sichuan Province,China- 已建议为答案 Kira Qian 2010年12月1日 2:43
- 已标记为答案 韦恩卑鄙 waywaModerator 2011年3月10日 13:14