Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF vs. Windows Forms [duplicate]

Tags:

winforms

wpf

Duplicate:

  • WPF vs WinForms or Rich UI vs Stable Applications? What do you think about the future of the Windows Forms platform?
  • When is Winforms the correct choice vs. WPF?
  • WPF versus Winforms
  • Advantage of WPF app vs Winform for business apps?
  • WPF, Winforms, or something else?

What are the pros and cons of WPF compared to Windows Forms?

like image 278
crauscher Avatar asked May 19 '09 22:05

crauscher


3 Answers

We went to WPF and never looked back. At this point I recommend doing all new development in WPF because the experience is that much better. But take that with a grain of salt, especially if you have a team with alot of WinForms experience.

like image 160
2 revs Avatar answered Nov 16 '22 00:11

2 revs


WPF will require .NET 3.0 (or later) and will lend itself toward better seperation of your presentation / business logic / data access layers. If you have a UI Designer or you are proficent in Expression Blend WPF is probably the way to go.

If there is not a UI Designer and seperation of concerns is not an issue, WinForms will not introduce any additional learning curve to your project.

like image 38
Nate Avatar answered Nov 16 '22 01:11

Nate


If you work on a big project with (interface-)designers on the one and programmers on the other hand, WPF can be better than Forms as you can separate you GUI from your code much better through the xml.

But generally speaking I wouldn't see myself in a position to once and for all decide over WPF / Windows Forms.

like image 30
Kevin Dungs Avatar answered Nov 16 '22 00:11

Kevin Dungs