Jump to content

 

These two are totally different technologies. They do offer some interoperability layers to both directions but other than that have nothing in common. WinForms is more or less a lightweight wrapper on top of Win32/MFC, which means it's extensibility in .Net is not that good in all cases. WPF is a new UI framework implemented from scratch. WPF is also much more flexible when it comes to customizing the existing types.

However, at least from my experience, WinForms seems to be the more commonly used desktop UI framework in the industry. WinForms can't be used with web development though while WPF offers SilverLight and XBAP applications.

If you have done any UI development before, I'd dare say WinForms is easier to learn as it follows more traditional programming paradigms. The programming model of WPF is quite different to this. While WPF can be used in the same way as WinForms, most of its benefits are not achieved until you embrace the data binding and encapsulation WPF provides.

Despite stating some points in favor of WinForms choosing WPF over WinForms would be no brainer for me if all you want to do is learn an UI framework. It's superior to WinForms in all aspects. I just wish the software industry in general would adapt it on larger scale! (Though not like anyone writes desktop applications anymore since we got the web.)

 

I got this from here after a quick google

http://stackoverflow.com/questions/2685150/wpf-or-windows-forms

 

I hope this helps you quickly because I don't think you would have gotten a fast response otherwise

CPU: Intel Core i5 4690K @ 4.6Ghz CPU Cooler: Noctua NH-D15 GPU: GTX 1070 TI RAM: Crucial Ballistix Tactical 16GB (4x4) Mobo: ASUS Z97-PRO(Wi-Fi ac) PSU: Corsair RM Series RM750 Case: Fractal Design Define R4 no window

Link to comment
https://linustechtips.com/topic/406752-c-wpf-vs-windows-form/#findComment-5481585
Share on other sites

Link to post
Share on other sites

Im pretty sure that WPF is displayed via direct3D where as winforms is simply Win32.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
https://linustechtips.com/topic/406752-c-wpf-vs-windows-form/#findComment-5482969
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×