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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. New to C# Question

New to C# Question

Scheduled Pinned Locked Moved C#
questioncsharp
6 Posts 4 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.
  • L Offline
    L Offline
    Larry J Siddens
    wrote on last edited by
    #1

    How do you get the XP style using C#? Larry J. Siddens

    C H H 3 Replies Last reply
    0
    • L Larry J Siddens

      How do you get the XP style using C#? Larry J. Siddens

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      It is not built in unfortunately. However, you have come to the right place. Search CodeProject for XP Style[^] or click the previous link. --Colin Mackay--

      "In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown) Enumerators in .NET: See how to customise foreach loops with C#

      1 Reply Last reply
      0
      • L Larry J Siddens

        How do you get the XP style using C#? Larry J. Siddens

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        I wrote an article here: http://www.codeproject.com/csharp/dotnetvisualstyles.asp[^]. If you target .NET 1.1 or higher, you can also call Application.EnableVisualStyles BEFORE you call Application.Run in your entry point (Main). This only works on .NET 1.1 and higher, though, and achieves the same functionality as what I document in my article (which works for .NET 1.0 and higher).

        -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

        L 1 Reply Last reply
        0
        • L Larry J Siddens

          How do you get the XP style using C#? Larry J. Siddens

          H Offline
          H Offline
          Huseyin Altindag
          wrote on last edited by
          #4

          Hi Larry I think I´ve got something for you I can send you as attached zip file email me Huseyin

          1 Reply Last reply
          0
          • H Heath Stewart

            I wrote an article here: http://www.codeproject.com/csharp/dotnetvisualstyles.asp[^]. If you target .NET 1.1 or higher, you can also call Application.EnableVisualStyles BEFORE you call Application.Run in your entry point (Main). This only works on .NET 1.1 and higher, though, and achieves the same functionality as what I document in my article (which works for .NET 1.0 and higher).

            -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

            L Offline
            L Offline
            Larry J Siddens
            wrote on last edited by
            #5

            Heath, It was easy to use the Application.EnableVisualSytles() and make sure the controls FlatStyle was "System". Also, It worked in the C++ environment too! Cool! :-D Larry J. Siddens

            H 1 Reply Last reply
            0
            • L Larry J Siddens

              Heath, It was easy to use the Application.EnableVisualSytles() and make sure the controls FlatStyle was "System". Also, It worked in the C++ environment too! Cool! :-D Larry J. Siddens

              H Offline
              H Offline
              Heath Stewart
              wrote on last edited by
              #6

              Note that C++.NET (Managed C++, or MC++) compiles to the same thing as C#, VB.NET, or any other languages targeting the CLR, so long as your MC++ is written using purely managed code (no mixed mode). This is important to understand: all managed languages compile to (roughly) the same thing: IL. They also have access to the base class library, as well as other assemblies no matter source language they were written in - they all contain IL code.

              -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

              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