Windows Froms and WPF - XP vs Windows 7

San24
San24 used Ask the Experts™
on
Experts,

I`ve been working on a WinFrom application using VS2008 and C# 3.5. I`ve been running it on Windows 7. It looks professional and I`m pretty happy with the results. When I try to run the application on Windows XP, I get a not so appealing look - grey and boxy. The style is getting inherited from XP. Is there any way you can make it platform independent, or atleast make it more professional looking on XP?

Is WPF the answer? Before I spend too much time looking into it, what are the options I should  consider. If WPF is the answer, I can use most of the code which I already have. I only have to spend time with the UI.

Best,
San
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
well... you can try looking at the themes and allow users to apply different themes to your layout... The problem is that a lot of standard controls don't support custom themes, so, you're stuck with 3rd party such as DevExpress or Infragistics...

WPF, however, allows you to theme your controls... You are creating your own controls and defining how they will look. This way, you can make them look the same on any windows platform as all your theming elements will be part of your application.

Author

Commented:
So, WPF the way to go? Do the themes have to be installed on the System? Might seem like a dumb question. Also, what about Silverlight?
Commented:
I'd go for WPF... I can't really talk about Silverlight since I know nothing about it.
Themes are basically a resources that are part of your application.
C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Commented:
if this is a project for a company you're working for, take a look at Microsoft's product called Expression Blend. It makes theme / control creation real easy!

Author

Commented:
I created a test application using WPF...still get the grey and boxy feel to it. It looks fine on Windows 7. What could I be missing?
Commented:
check out these links:
http://windowsclient.net/wpf/default.aspx
http://windowsclient.net/wpf/wpf35/wpf-35sp1-more-effects.aspx

Also, I don't know whether Windows can override your application settings if it is set in Performance Only mode (under 'My Computer' properties). If it does, then there's your problem...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial