Once Application.EnableVisualStyles() is used in Visual Studio 2010 (C#), can it be disabled and then re-enabled?
I like its appearance in some places, but not in others.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. Typically you call this once when your app starts (in the Main method), and then it’s on for the application. You can’t turn it off again.
However, you can choose not to use them for some forms – using the
VisualStyleState– http://msdn.microsoft.com/en-us/library/system.windows.forms.application.visualstylestate.aspx