Click here to Skip to main content
15,914,016 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Why software developer choose WPF instead of Windows Form Application in c# Pin
Thanks787224-Aug-17 22:48
professionalThanks787224-Aug-17 22:48 
GeneralRe: Why software developer choose WPF instead of Windows Form Application in c# Pin
Mike Hankey25-Aug-17 2:04
mveMike Hankey25-Aug-17 2:04 
GeneralRe: Why software developer choose WPF instead of Windows Form Application in c# Pin
Thanks787224-Aug-17 22:13
professionalThanks787224-Aug-17 22:13 
GeneralRe: Why software developer choose WPF instead of Windows Form Application in c# Pin
Hardevsinh Mori24-Aug-17 22:15
professionalHardevsinh Mori24-Aug-17 22:15 
GeneralRe: Why software developer choose WPF instead of Windows Form Application in c# Pin
GuyThiebaut25-Aug-17 2:18
professionalGuyThiebaut25-Aug-17 2:18 
GeneralRe: Why software developer choose WPF instead of Windows Form Application in c# Pin
PIEBALDconsult25-Aug-17 3:11
mvePIEBALDconsult25-Aug-17 3:11 
GeneralRe: Why software developer choose WPF instead of Windows Form Application in c# Pin
Marc Clifton25-Aug-17 3:50
mvaMarc Clifton25-Aug-17 3:50 
GeneralRe: Why software developer choose WPF instead of Windows Form Application in c# Pin
lmoelleb25-Aug-17 5:06
lmoelleb25-Aug-17 5:06 
Personally I choose it because I am way more productive in it.

It was a pain to learn. I kept trying to do thing the WinForm way, and it took a lot of code. For example I had a tree-view with 50 lines of code to change the selected item.... simply because I did not understand "if you are not databinding it, you are doing it wrong." And indeed the 50 lines of code was replaced with databinding to a simple property... it just worked. Smile | :)

Now I have learned it, I just "think MVVM and databinding" if I need a UI - and everything else is taking me too long and turn into too much spaghetti keeping the UI controls updated.

If I just need something small, I still do WPF but might skip the model - let the view model deal with the mess. It is easy to refactor out if it turns out the model would be useful after all.

And it makes it easy to keep up to date on the latest and greatest HTML UI frameworks and trends -
after all, they are just slowly trying to implement WPF without having the fundamentals right. Smile | :)

I do not really use the superior rendering capabilities of WPF. I suck at design, so tend to stick to default look in both WPF and WinForm.
GeneralRe: Why software developer choose WPF instead of Windows Form Application in c# Pin
Gary Wheeler25-Aug-17 6:21
Gary Wheeler25-Aug-17 6:21 
GeneralRe: Why software developer choose WPF instead of Windows Form Application in c# Pin
RedDk25-Aug-17 7:24
RedDk25-Aug-17 7:24 
JokeEncoding Pin
Sander Rossel24-Aug-17 21:46
professionalSander Rossel24-Aug-17 21:46 
GeneralRe: Encoding Pin
OriginalGriff24-Aug-17 21:59
mveOriginalGriff24-Aug-17 21:59 
GeneralRe: Encoding Pin
Jacquers24-Aug-17 22:58
Jacquers24-Aug-17 22:58 
GeneralRe: Encoding Pin
Marc Clifton25-Aug-17 3:53
mvaMarc Clifton25-Aug-17 3:53 
GeneralRe: Encoding Pin
Daniel Pfeffer25-Aug-17 5:48
professionalDaniel Pfeffer25-Aug-17 5:48 
GeneralSound of the Week Pin
Sander Rossel24-Aug-17 21:42
professionalSander Rossel24-Aug-17 21:42 
GeneralRe: Sound of the Week Pin
User 483504725-Aug-17 8:16
User 483504725-Aug-17 8:16 
GeneralRe: Sound of the Week Pin
Sander Rossel26-Aug-17 4:00
professionalSander Rossel26-Aug-17 4:00 
GeneralHow did this not get into the charts? Pin
User 1013254624-Aug-17 10:44
User 1013254624-Aug-17 10:44 
GeneralCan't get .Net Core 2.0 Templates in to show VS 2017 Pin
Michael Breeden24-Aug-17 9:38
Michael Breeden24-Aug-17 9:38 
GeneralRe: Can't get .Net Core 2.0 Templates in to show VS 2017 Pin
Richard MacCutchan24-Aug-17 21:11
mveRichard MacCutchan24-Aug-17 21:11 
GeneralRe: Can't get .Net Core 2.0 Templates in to show VS 2017 Pin
Eugenio Miró24-Aug-17 22:32
professionalEugenio Miró24-Aug-17 22:32 
GeneralRe: Can't get .Net Core 2.0 Templates in to show VS 2017 - Solution Pin
Michael Breeden25-Aug-17 3:28
Michael Breeden25-Aug-17 3:28 
GeneralThought of the day PinPopular
OriginalGriff24-Aug-17 4:50
mveOriginalGriff24-Aug-17 4:50 
GeneralRe: Thought of the day Pin
megaadam24-Aug-17 5:37
professionalmegaadam24-Aug-17 5:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.