Home > Common Problem > What is the difference between wpf and winform

What is the difference between wpf and winform

coldplay.xixi
Release: 2021-01-02 11:24:43
Original
20770 people have browsed it

The difference between wpf and winform: 1. WPF is a product launched by Microsoft to replace winform, which can separate interface designers and developers, while WinForm creates rich Windows-based applications; 2. DirectX used at the bottom of WPF , the bottom layer of winform uses GDI.

What is the difference between wpf and winform

The difference between wpf and winform:

WPF, that is, windows presentation foundation, windows Presentation Basics, which belongs to .net framework 3.0, is a product launched by Microsoft to replace winform. It can separate the work of interface designers and developers, and provide multimedia interactive user graphical interfaces. The three core assemblies are presentationcore, presentationFramework, and windowsBase.

WinForm is a name for Windows Form in Net development platform. Windows Forms can be used to design forms and visual controls to create rich Windows-based applications. Windows Forms provides a rich set of controls, and developers can define their own unique new controls. WinForm controls refer to objects used to input or manipulate data. For example: ComponentOne is an encapsulation of data and methods under the .net platform. Has its own properties and methods. Properties are simple accessors to control data. Methods are some simple and visible functions of the control. The Windows Forms classes included in the .NET Framework are intended for GUI development.

The biggest difference between WPF and winform is that WPF uses DirectX at the bottom layer, while winform uses GDI at the bottom layer, so WPF is superior in terms of graphical interface.

GDI (Graphics Device Interface) Graphics Device Interface, its main task is to be responsible for the exchange and processing of information between drawing programs, and the graphics output of all windows programs.

DirectX (Direct Extension) multimedia programming interface, which enhances 3D graphics and sound effects, consists of many APIs. It can be divided into four parts according to its properties: display part, sound part, input part and network part.

The above is the detailed content of What is the difference between wpf and winform. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
wpf
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template