Solved

Why Use WPF instade of winform

Posted on 2009-04-01
4
1,399 Views
Last Modified: 2013-11-12
Why Use WPF instade of winform i.e is their any criteria to use WPF.
0
Comment
Question by:replyanshu
  • 2
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
unmeshdave earned 125 total points
ID: 24040108
As of now, Its not WPF instead of Winforms(It will change in future for sure).  WPF is very powerful in UI automation against WinForms but Still Winform has its own space. It depends on your project what better suits you, so you need to check all the aspects. If your application needs flashy visuals, skinned controls, animations, different media type support then WPF is very handy for this kind of application. But this is not all. If you are building applications with no need for the extensive modern functionality in WPF, then there is no compelling reason to leave behind a time-tested developer-approved platform.
 
There are several articles for this, you can go through some of them:
http://joshsmithonwpf.wordpress.com/2007/09/05/wpf-vs-windows-forms/
http://weblogs.asp.net/bsimser/archive/2008/02/25/wpf-or-winforms-choose-wisely.aspx  
http://www.slickthought.net/post/2007/09/Good-Debate-on-WPF-vs-WinForms.aspx  
0
 
LVL 6

Expert Comment

by:jarnsater
ID: 24053431
I think one of the main reasons to choose WPF, would be that it's much easier to transform your project into a Silverlight application if you would need it.
0
 
LVL 8

Expert Comment

by:unmeshdave
ID: 24053490
yes, if you want to use SL then that can be useful. but still, though SL is subset of WPF, SL is designed to use browser specific, cross-platform applications. While WPF is truly intended for desktop applicaitons.
0
 
LVL 6

Expert Comment

by:jarnsater
ID: 24053615
Yes, exactly. If the author in the future would like to go towards a hosted solution, or perhaps support both a hosted and offline (desktop) solution, they would definitely benefit from being in the WPF world instead of WinForms.

Also, I must give some coudos towards Silverlight as a framework for business apps (LOB). I think this is the ideal platform for business apps: As a coder, you get to write c# (or vb.net) code in all layers,  client, business logic and persistence. You skip all problems with installation and specific hardware related issues, and you get the possibility to always have your clients on the latest version (in other words no upgrade problems). But still, you get a great user experience (similar to WPF). I think the user flow of business apps has for far to long been dull and non userfriendly. Let's change that!   :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now