JSON
JSON

Reputation: 1182

visual studio C# Mysterious change to winform look and feel

I have been creating a simple report application using winforms and crystal in Visual Studio 2010. All was good until one day I opened it up, gave it a run and the entire look and feel changed to the classic windows style. I can't figure out what the heck I did to change this. I have been looking through every setting and property I can find and have not been able find anything. In the picture provided, the top window is what it looks like in my designer, and what it looked like before the change. The bottom picture shows what it looks like now when running.its a freakin picture. what else do you want to know

Any ideas?

Upvotes: 1

Views: 537

Answers (1)

Nasreddine
Nasreddine

Reputation: 37888

It looks like you removed this line:

Application.EnableVisualStyles();

from your Programs.cs file in the Main() method. That's the only way I was able to get that classic look.

Upvotes: 3

Related Questions