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. C#
  4. setup customer background color

setup customer background color

Scheduled Pinned Locked Moved C#
csharphtmlvisual-studiosalesworkspace
4 Posts 2 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.
  • P Offline
    P Offline
    Pr teek B h
    wrote on last edited by
    #1

    Does anybody know how I can give my application a custom color that is not available in visual studio (Sort of like how you do it in html). Prateek

    G 1 Reply Last reply
    0
    • P Pr teek B h

      Does anybody know how I can give my application a custom color that is not available in visual studio (Sort of like how you do it in html). Prateek

      G Offline
      G Offline
      Giorgi Dalakishvili
      wrote on last edited by
      #2

      If you know RGB code of the color you can use Color.FromARGB() method to get the color you want. If you want to allow user choose color they need, you can use ColorDialog.

      Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

      P 1 Reply Last reply
      0
      • G Giorgi Dalakishvili

        If you know RGB code of the color you can use Color.FromARGB() method to get the color you want. If you want to allow user choose color they need, you can use ColorDialog.

        Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

        P Offline
        P Offline
        Pr teek B h
        wrote on last edited by
        #3

        It took me a while to get the rgb value, but that worked. Thanks again :) Prateek

        G 1 Reply Last reply
        0
        • P Pr teek B h

          It took me a while to get the rgb value, but that worked. Thanks again :) Prateek

          G Offline
          G Offline
          Giorgi Dalakishvili
          wrote on last edited by
          #4

          Glad to help you :)

          Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

          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