Is WPF replacement of WinForms? [duplicate]
Possible Duplicate:
When is Winforms the correct choice vs. WPF?
Hi, I have read various opinions but I do not get the final picture. Also is WPF replacement for WinForms or its an alternative for richer开发者_运维知识库 visual experience?
In short...yes.
That is to say that it can be viewed both ways.
What Microsoft has said in a nutshell is:
- WinForms is not going away
- There will be no more significant development being done on the WinForms platform.
- Microsoft recommends using WPF
- WPF will give you a richer UI experience.
- WPF will allow you to more readily use design patterns for more standards based development.
I know that's about as clear as mud, but that's what they've said.
Alternative. Winforms isn't dead, it is fully supported on .NET 4.0. And about nothing you did in a Winforms project is salvageable when you convert it completely to a WPF app.
No, it is not, but the way it takes controls is way more dynamic and developer-friendly, especially when assisting the same approach in Silverlight which is starting to take the lights off Flash.
You may want to take a look at WPF in Wikipedia article.
Whatever we can do in winform, we can do in wpf as well. Only difference is winforms also works in older OS. From VS2005 onwards there isnt much addition to winform library and controls while there's huge addition in WPF libraries and controls. And VS2010 written fully on wpf. Based on these facts looks like microsoft is quite intrested in pushing wpf more. Also as in my network most of the new desktop software are choosing wpf. Winform will surely be there for next 5 years but I doubt its future after that.
精彩评论