Home All Groups Group Topic Archive Search About

Application.EnableVisualStyles() still required in version 2.0

Author
5 Nov 2006 3:22 PM
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

Author
5 Nov 2006 3:57 PM
Herfried K. Wagner [MVP]
" Academic" <academicNOSPAM@a-znet.com> schrieb:
>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/>
Author
5 Nov 2006 10:17 PM
Academic
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


Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:ulQSdMPAHHA.4024@TK2MSFTNGP04.phx.gbl...
>" Academic" <academicNOSPAM@a-znet.com> schrieb:
>>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/>
Author
6 Nov 2006 6:23 AM
Michel Posseth [MCP]
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]

Show quoteHide quote
" Academic" <academicNOSPAM@a-znet.com> schreef in bericht
news:eA935gSAHHA.1556@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]" <hirf-spam-me-here@gmx.at> wrote in message
> news:ulQSdMPAHHA.4024@TK2MSFTNGP04.phx.gbl...
>>" Academic" <academicNOSPAM@a-znet.com> schrieb:
>>>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/>
>
>
Author
6 Nov 2006 1:20 PM
Academic
Aha, thanks
Show quoteHide quote
"Michel Posseth [MCP]" <M***@posseth.com> wrote in message
news:%236UGCwWAHHA.4592@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" <academicNOSPAM@a-znet.com> schreef in bericht
> news:eA935gSAHHA.1556@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]" <hirf-spam-me-here@gmx.at> wrote in message
>> news:ulQSdMPAHHA.4024@TK2MSFTNGP04.phx.gbl...
>>>" Academic" <academicNOSPAM@a-znet.com> schrieb:
>>>>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/>
>>
>>
>
>