By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,168 Members | 2,511 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,168 IT Pros & Developers. It's quick & easy.

Application.EnableVisualStyles() still required in version 2.0

P: n/a
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
Nov 5 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
" Academic" <ac************@a-znet.comschrieb:
>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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 5 '06 #2

P: n/a
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
"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:ul**************@TK2MSFTNGP04.phx.gbl...
>" Academic" <ac************@a-znet.comschrieb:
>>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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 5 '06 #3

P: n/a

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" <ac************@a-znet.comschreef in bericht
news:eA**************@TK2MSFTNGP03.phx.gbl...
>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
"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:ul**************@TK2MSFTNGP04.phx.gbl...
>>" Academic" <ac************@a-znet.comschrieb:
>>>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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


Nov 6 '06 #4

P: n/a
Aha, thanks
"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>
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" <ac************@a-znet.comschreef in bericht
news:eA**************@TK2MSFTNGP03.phx.gbl...
>>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
"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:ul**************@TK2MSFTNGP04.phx.gbl...
>>>" Academic" <ac************@a-znet.comschrieb:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>



Nov 6 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.