Click here to Skip to main content
13,202,262 members (55,686 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Anyone answer me please.
What is difference between form and WPF in .net.
Thanks in advance
Posted 26-Sep-12 18:56pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

In short,
simple Conclusion of Comparison is,
1. Presentation layer (User Interface, Application Look) 
     Winform < WPF    (WPF is better than Winform)
2. Programming layer (Efforts for Coding)    
     WinForm > WPF    (WinForm are better than WPF)

It is Conclusion only

for details you should compare controls, events and other things like which is easy for making new user-controls, components etc...

Now a days there are many third party tools available that are combining advantages of both Winform & WPF,
and serves Controls that gives rich Presentation(Wpf) + Easy(less effort) Coding(Winform).

Happy Coding!
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

See the answers to this very similar question:
Advantages and disadvantages of WPF over winforms ?[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

WPF is focused on presentation and creating "slick" interfaces that may be animated etc. WPF utilizes graphic cards through DirectX and also intends to separate the interface from the underlying logic. In comparison, Winforms use the standard GDI subsystem which in many cases is more mature and can be considerably faster in certain graphic tasks. WPF is also designed with XAML which is a derivative of XML and thus the structure is quite a bit different than that of WinForms.

When I am asked which I prefer someone learn first, I always recommend WinForms first for the following reasons...

1) It is standard and taught along with .NET application design
2) Most likely as a programmer you are going to spend a lot of time in code maintenance which will have winforms already created.
3) Industry is still using a lot of winforms and very few have jumped into WPF yet, even though more are doing it every day.
4) Winforms will get your feet wet and provide a solid foundation which can help you jump into WPF much faster.
5) In some situations Winforms are a bit easier to work with and can be faster depending on the application.

Now obviously WPF is coming around and maturing. So it could possibly replace winforms some day. However I don't see it doing this immediately and you can still get the most bang for your buck doing winforms right now and then pick up WPF in the future.

See this link for advantage of wpf[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171020.1 | Last Updated 27 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100