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. How do lappling CSS to windows application

How do lappling CSS to windows application

Scheduled Pinned Locked Moved C#
csharpcssvisual-studiohelp
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.
  • B Offline
    B Offline
    benson misi
    wrote on last edited by
    #1

    lm working on central bakery system and l want to fix the look of my forms is it possible to use CSS on windows application forms lm using C# on visual studio 2008

    OriginalGriffO 1 Reply Last reply
    0
    • B benson misi

      lm working on central bakery system and l want to fix the look of my forms is it possible to use CSS on windows application forms lm using C# on visual studio 2008

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      CSS cannot be used for windows forms (TTBOMK). There is a company[^] selling something they claim is similar, but I've never investigated. The best you can do is define a single form with the style you want, and derive from it, but that won't give you the button, text etc styles you probably want.

      No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      B 1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        CSS cannot be used for windows forms (TTBOMK). There is a company[^] selling something they claim is similar, but I've never investigated. The best you can do is define a single form with the style you want, and derive from it, but that won't give you the button, text etc styles you probably want.

        No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

        B Offline
        B Offline
        benson misi
        wrote on last edited by
        #3

        can u please send me a code sample of what u are talking abt it seems like a good idea

        OriginalGriffO 1 Reply Last reply
        0
        • B benson misi

          can u please send me a code sample of what u are talking abt it seems like a good idea

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          Step one: Create a form that looks like what you want. Call it "GeneralForm" Step two: Create a new form. Where it says "public partial class Form1 : Form" change "Form" to "GeneralForm" Step three: Learn what you are being paid for?

          No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          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