Solved

Convert Windows Forms to WPF

Posted on 2009-05-06
4
4,948 Views
Last Modified: 2013-12-17
I have a  C# written calculator program in Windows Form that I wish to convert to WPF. I was wondering if there is a way to convert from Windows Form to WPF, or would I have to re-write the calculator coping and pasting its code
0
Comment
Question by:a_anis3000
4 Comments
 
LVL 16

Assisted Solution

by:CuteBug
CuteBug earned 200 total points
ID: 24313595
0
 
LVL 16

Expert Comment

by:ToddBeaulieu
ID: 24338394
Seriously, WPF is a completely different paradigm. You *could* rewrite an application to look exactly like it did in winforms, but what would be the point? Winforms isn't going anywhere soon, so you'd gain no benefit. Now, if you rewrote it to be scalable, more interactive, etc., you'd have a reason for the rewrite. It takes time for an experience winforms developer to change their thinking about UI design to fit in with what WPF brings to the table. It will be a long time, I'm sure, before truly flexible UIs become common place.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 300 total points
ID: 24338509
0
 

Expert Comment

by:limane
ID: 37380447
Could you recommend me a good tutorial about WPF?

Thaanks!

T.L
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…

861 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