I have previously written user interfaces using .NET and Windows Forms.
I'm about to start development on a new piece of software. This software is just a simple utility which will make use of Rich Text fields, a few buttons, dialog boxes, etc.
It seems Windows Forms is ideally suitable for this. I don't need anything flashy.
However, WPF is something new, and I'd like to learn it.
I made a hello world application in WPF, and I'm not happy, because it takes way too much time to run the application and double that amount of time to compile it.
I'm new to WPF, so I have more than one question:
The single most important difference between WinForms and WPF is the fact that while WinForms is simply a layer on top of the standard Windows controls (e.g. a TextBox), WPF is built from scratch and doesn't rely on standard Windows controls in almost all situations.
The abbreviation W.P.F simply refers to Microsoft's Windows Presentation Foundation, and WinForms is a simple concatenation of Windows Forms Applications. These are both Microsoft's Windows Applications Graphical User Interfaces that developers may use to develop Windows desktop applications.
See: https://stackoverflow.com/questions/713193/wpf-vs-windows-forms/713249#713249
To answer your questions:
It took me a while to get into WPF, but I think the area it really shines in is databinding. With very little effort, I was able to get rid of an enormous amount of display logic and let .NET handle all of it. This is a huge win if you are displaying a lot of data. I don't think it's necessarily worth it if all you're doing is passing a couple of parameters and pressing a button.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With