Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should we migrate to WPF or Winforms? [duplicate]

Tags:

winforms

wpf

DUPE: When is Windows Forms the correct choice vs WPF?

We have to decide these days whether or not to go with WPF as a platform for building our next generation of our product.

Personally I am a little afraid of using this technology especially because of performance and because it's not mature (I am not sure about the quality of the UI editors such as Blend).

like image 872
Adi Barda Avatar asked Feb 18 '09 17:02

Adi Barda


2 Answers

Personally, I absolutely adore WPF.

It requires a fundamental shift in thinking from Winforms. Winforms you drag and drop stuff on to a form. That gets you 80% of the way really quickly and easily, but when you need to move outside of the things that WinForms explicitly covers, you enter a world of pain.

In WPF, first thing you do is turn off the visual editor. The code for your UI goes from an ugly mess to something beautiful. Also, it is remarkably powerful and flexible, once you get the hang of it the things you can do are absolutely amazing.

The downside to WPF is that it is more heavy then WinForms, and the learning curve is relatively huge. However, it is the way of the future, and unless it is a trivial app you are making, I would choose WPF hands down.

like image 156
Matt Briggs Avatar answered Sep 26 '22 00:09

Matt Briggs


If you don't need a very glossy UI with animations and so on, I see little reason to jump to WPF... just yet.

like image 45
Galwegian Avatar answered Sep 24 '22 00:09

Galwegian