Answered by:
WPF Application and Windows Form Application

Question
-
What is the difference between WPF Application and Windows Form Application?
What is the merit in using WPF?
Thursday, November 6, 2014 11:53 PM
Answers
-
Hello jdy0803,
read this thread:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/42636e55-a1e0-4b29-bbd1-cd8073585584/wpf-vs-windows-formsPaolo Pranzo
- Marked as answer by Kristin Xie Tuesday, November 18, 2014 8:48 AM
Friday, November 7, 2014 12:03 AM -
Hello,
It's may help you.
http://stackoverflow.com/questions/57909/when-creating-a-new-gui-is-wpf-the-preferred-choice-over-windows-forms
---------------------------------------
if the reply help you mark it as your answer.
Free No OLE C# PowerPoint, Word, Excel, PDF Component(Create, Modify, Convert & Print)- Marked as answer by Kristin Xie Tuesday, November 18, 2014 8:48 AM
Friday, November 7, 2014 1:51 AM -
You can format your own ListBox in WPF for example, http://chanmingman.wordpress.com/2011/06/21/bind-image-from-ms-sql-server-2008-binary-field-to-wpf-listbox/. It is a graphic rich interface.
WinForm is easier to code on the other hand if you don't know need a lot of nice graphic.
Get started here:
http://msdn.microsoft.com/en-us/library/vstudio/ms754130.aspx
chanmm
chanmm
- Proposed as answer by chanmmMVP Friday, November 7, 2014 4:23 AM
- Marked as answer by Kristin Xie Tuesday, November 18, 2014 8:48 AM
Friday, November 7, 2014 4:23 AM -
What is the difference between WPF Application and Windows Form Application?
WPF forms use XAML and Windows forms do not. They are both Windows Desktop solutions using a exe project type executable.
What is the merit in using WPF?
None from what I can seen, and I have used them both. The big thing that WPF solutions use is MVVM and the ability to do control binding. One could always use MVP in Windows form based solutions.
But now, there is MVPVM that can be used in Windows and WPF form based solutions.
http://aviadezra.blogspot.com/2009/08/mvp-mvvm-winforms-data-binding.html
http://www.codeproject.com/Articles/88390/MVP-VM-Model-View-Presenter-ViewModel-with-Data-Bi
I used MVP in Windows and Web based form solutions, my first UI design patteren learned many years ago. I have used MVVM in WPF, and MVC (MS's version of MVC). I'll take MVP type pattern over all of them. :)
- Marked as answer by Kristin Xie Tuesday, November 18, 2014 8:48 AM
Sunday, November 9, 2014 6:55 AM -
In the pros & cons of WPF, I can't understand following pro.
+ The ability to reuse existing code
Can anybody explain how the WPF code is reusable and Windows Forms not?
You can do the same thing in any type of .NET solution WPF, Windows form, ASP.NET form, WCF, Console, Windows Service and Silverlight applications too concerning code reusage, if one understands and knows how to use design patterns.
http://www.dofactory.com/net/design-patterns
<copied>
Design patterns are solutions to software design problems you find again and again in real-world application development. Patterns are about reusable designs and interactions of objects.
<end>
- Marked as answer by Kristin Xie Tuesday, November 18, 2014 8:48 AM
Sunday, November 9, 2014 7:20 AM
All replies
-
Hello jdy0803,
read this thread:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/42636e55-a1e0-4b29-bbd1-cd8073585584/wpf-vs-windows-formsPaolo Pranzo
- Marked as answer by Kristin Xie Tuesday, November 18, 2014 8:48 AM
Friday, November 7, 2014 12:03 AM -
Hello,
It's may help you.
http://stackoverflow.com/questions/57909/when-creating-a-new-gui-is-wpf-the-preferred-choice-over-windows-forms
---------------------------------------
if the reply help you mark it as your answer.
Free No OLE C# PowerPoint, Word, Excel, PDF Component(Create, Modify, Convert & Print)- Marked as answer by Kristin Xie Tuesday, November 18, 2014 8:48 AM
Friday, November 7, 2014 1:51 AM -
You can format your own ListBox in WPF for example, http://chanmingman.wordpress.com/2011/06/21/bind-image-from-ms-sql-server-2008-binary-field-to-wpf-listbox/. It is a graphic rich interface.
WinForm is easier to code on the other hand if you don't know need a lot of nice graphic.
Get started here:
http://msdn.microsoft.com/en-us/library/vstudio/ms754130.aspx
chanmm
chanmm
- Proposed as answer by chanmmMVP Friday, November 7, 2014 4:23 AM
- Marked as answer by Kristin Xie Tuesday, November 18, 2014 8:48 AM
Friday, November 7, 2014 4:23 AM -
In the pros & cons of WPF, I can't understand following pro.
+ The ability to reuse existing code
Can anybody explain how the WPF code is reusable and Windows Forms not?
Sunday, November 9, 2014 2:31 AM -
What is the difference between WPF Application and Windows Form Application?
WPF forms use XAML and Windows forms do not. They are both Windows Desktop solutions using a exe project type executable.
What is the merit in using WPF?
None from what I can seen, and I have used them both. The big thing that WPF solutions use is MVVM and the ability to do control binding. One could always use MVP in Windows form based solutions.
But now, there is MVPVM that can be used in Windows and WPF form based solutions.
http://aviadezra.blogspot.com/2009/08/mvp-mvvm-winforms-data-binding.html
http://www.codeproject.com/Articles/88390/MVP-VM-Model-View-Presenter-ViewModel-with-Data-Bi
I used MVP in Windows and Web based form solutions, my first UI design patteren learned many years ago. I have used MVVM in WPF, and MVC (MS's version of MVC). I'll take MVP type pattern over all of them. :)
- Marked as answer by Kristin Xie Tuesday, November 18, 2014 8:48 AM
Sunday, November 9, 2014 6:55 AM -
In the pros & cons of WPF, I can't understand following pro.
+ The ability to reuse existing code
Can anybody explain how the WPF code is reusable and Windows Forms not?
You can do the same thing in any type of .NET solution WPF, Windows form, ASP.NET form, WCF, Console, Windows Service and Silverlight applications too concerning code reusage, if one understands and knows how to use design patterns.
http://www.dofactory.com/net/design-patterns
<copied>
Design patterns are solutions to software design problems you find again and again in real-world application development. Patterns are about reusable designs and interactions of objects.
<end>
- Marked as answer by Kristin Xie Tuesday, November 18, 2014 8:48 AM
Sunday, November 9, 2014 7:20 AM