Application.EnableVisualStyles() still required in version 2.0

  • Thread starter Thread starter Academic
  • Start date Start date
A

Academic

I have statements that enable visual styles in Application.Designer and in
Application.myApp

I also have in Main

Application.EnableVisualStyles()



Is that still required in version 2.0 ?





Thanks
 
Academic said:
I have statements that enable visual styles in Application.Designer and in
Application.myApp

I also have in Main

Application.EnableVisualStyles()

Is that still required in version 2.0 ?

It's not required if you enabled visual styles in the project properties
using the application framework.
 
I noticed that I can only do it in the Window Application project, not in
the Class Library projects - but it seems to be effective for the entire
solution.

Is that your experience?


Thanks
 
Hello Academic,

In the case of a class library these settings are inherited from the calling
assembly ( exe that calls the dll )


Regards

Michel Posseth [MCP]

Academic said:
I noticed that I can only do it in the Window Application project, not in
the Class Library projects - but it seems to be effective for the entire
solution.

Is that your experience?


Thanks
 
Aha, thanks
Michel Posseth said:
Hello Academic,

In the case of a class library these settings are inherited from the
calling assembly ( exe that calls the dll )


Regards

Michel Posseth [MCP]
 
Back
Top