Application.EnableVisualStyles() still required in version 2.0

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Academic

    Application.EnableVisualStyles() still required in version 2.0

    I have statements that enable visual styles in Application.Des igner and in
    Application.myA pp

    I also have in Main

    Application.Ena bleVisualStyles ()



    Is that still required in version 2.0 ?





    Thanks


  • Herfried K. Wagner [MVP]

    #2
    Re: Application.Ena bleVisualStyles () still required in version 2.0

    " Academic" <academicNOSPAM @a-znet.comschrieb :
    >I have statements that enable visual styles in Application.Des igner and in
    >Application.my App
    >
    I also have in Main
    >
    Application.Ena bleVisualStyles ()
    >
    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/>

    Comment

    • Academic

      #3
      Re: Application.Ena bleVisualStyles () still required in version 2.0

      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.atwrot e in message
      news:ulQSdMPAHH A.4024@TK2MSFTN GP04.phx.gbl...
      >" Academic" <academicNOSPAM @a-znet.comschrieb :
      >>I have statements that enable visual styles in Application.Des igner and in
      >>Application.m yApp
      >>
      >I also have in Main
      >>
      >Application.En ableVisualStyle s()
      >>
      >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/>

      Comment

      • Michel Posseth  [MCP]

        #4
        Re: Application.Ena bleVisualStyles () still required in version 2.0


        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.comschreef in bericht
        news:eA935gSAHH A.1556@TK2MSFTN GP03.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.atwrot e in message
        news:ulQSdMPAHH A.4024@TK2MSFTN GP04.phx.gbl...
        >>" Academic" <academicNOSPAM @a-znet.comschrieb :
        >>>I have statements that enable visual styles in Application.Des igner and
        >>>in Application.myA pp
        >>>
        >>I also have in Main
        >>>
        >>Application.E nableVisualStyl es()
        >>>
        >>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/>
        >
        >

        Comment

        • Academic

          #5
          Re: Application.Ena bleVisualStyles () still required in version 2.0

          Aha, thanks
          "Michel Posseth [MCP]" <MSDN@posseth.c omwrote in message
          news:%236UGCwWA HHA.4592@TK2MSF TNGP03.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.comschreef in bericht
          news:eA935gSAHH A.1556@TK2MSFTN GP03.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.atwrot e in message
          >news:ulQSdMPAH HA.4024@TK2MSFT NGP04.phx.gbl.. .
          >>>" Academic" <academicNOSPAM @a-znet.comschrieb :
          >>>>I have statements that enable visual styles in Application.Des igner and
          >>>>in Application.myA pp
          >>>>
          >>>I also have in Main
          >>>>
          >>>Application. EnableVisualSty les()
          >>>>
          >>>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/>
          >>
          >>
          >
          >

          Comment

          Working...