We help IT Professionals succeed at work.

Look/Feel of WInForms at Runtime

chrisog
chrisog asked
on
I have ported a WInForms C# application from VS2003 to VS2005.  At design time the forms look/feel like an updated application with button containing rounded corners etc.  At runtime, however, the form looks like an outdated VS2003 application with rectangular buttons etc.
Can you tell me how I change the runtime look/feel to appear updated?
Comment
Watch Question

Software Architect
CERTIFIED EXPERT
Top Expert 2008
Commented:
at your Program.cs file, inside your Program class' Main() method, use:
     EnableVisualStyles();

Author

Commented:
Thanks!

Explore More ContentExplore courses, solutions, and other research materials related to this topic.