Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Control Visual Interface

Control Visual Interface

Scheduled Pinned Locked Moved Visual Studio
questioncsharpvisual-studiodesignhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    contact ajo
    wrote on last edited by
    #1

    Now i am using Visual studio 2005. in design time all controls displayed in Xp style, in run time it looks like win 2000 style. what is the problem? please advice..

    H J 2 Replies Last reply
    0
    • C contact ajo

      Now i am using Visual studio 2005. in design time all controls displayed in Xp style, in run time it looks like win 2000 style. what is the problem? please advice..

      H Offline
      H Offline
      Hesham Amin
      wrote on last edited by
      #2

      Hi Check if this line of code exists to enable XP styles: Application.EnableVisualStyles(); It won't have the XP style on win2000 and 98,ME

      1 Reply Last reply
      0
      • C contact ajo

        Now i am using Visual studio 2005. in design time all controls displayed in Xp style, in run time it looks like win 2000 style. what is the problem? please advice..

        J Offline
        J Offline
        James Gupta
        wrote on last edited by
        #3

        just to clarify, the Application.EnableVisualStyles() should go in the program's Main() method

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups