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. Skins in C#

Skins in C#

Scheduled Pinned Locked Moved C#
csharpcomdesignhelptutorial
6 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.
  • V Offline
    V Offline
    vivasaayi
    wrote on last edited by
    #1

    I want to develop a Skinnable ToDoManager, so that I can develop different skins later and can switch from one to another during runtime (Similar to Windows Media Player http://www.microsoft.com/windows/windowsmedia/player/skins.aspx[^] ). Can any body suggest me how to do that. I am clear in the Logic part. UI is the problem. It will be more helpful if you could provide sample codes. (I am not meaning to change the colors dynamically, instead change the appearance of controls and their positions dynamically)

    E 1 Reply Last reply
    0
    • V vivasaayi

      I want to develop a Skinnable ToDoManager, so that I can develop different skins later and can switch from one to another during runtime (Similar to Windows Media Player http://www.microsoft.com/windows/windowsmedia/player/skins.aspx[^] ). Can any body suggest me how to do that. I am clear in the Logic part. UI is the problem. It will be more helpful if you could provide sample codes. (I am not meaning to change the colors dynamically, instead change the appearance of controls and their positions dynamically)

      E Offline
      E Offline
      egenis
      wrote on last edited by
      #2

      Use WPF? You can create various xaml style sheets for the skins you want to use. See this Codeproject article: WPF Themes and Skins Engine[^]

      V 1 Reply Last reply
      0
      • E egenis

        Use WPF? You can create various xaml style sheets for the skins you want to use. See this Codeproject article: WPF Themes and Skins Engine[^]

        V Offline
        V Offline
        vivasaayi
        wrote on last edited by
        #3

        Thank you for your quick reply. I checked the link. I already tried WPF and created a sample application that can load themes. The problem is time taken to load the themes in WPF is high. Also I dont know how to change the complete layout (Not just color, shape of a control) runtime. So I am trying a solution in C# instead of moving to C#. Can u suggest some solutions? :)

        R E 2 Replies Last reply
        0
        • V vivasaayi

          Thank you for your quick reply. I checked the link. I already tried WPF and created a sample application that can load themes. The problem is time taken to load the themes in WPF is high. Also I dont know how to change the complete layout (Not just color, shape of a control) runtime. So I am trying a solution in C# instead of moving to C#. Can u suggest some solutions? :)

          R Offline
          R Offline
          Ravi Mori
          wrote on last edited by
          #4

          hi..checkout this link: Creating a Skinned User Interface in WPF[^]

          V 1 Reply Last reply
          0
          • R Ravi Mori

            hi..checkout this link: Creating a Skinned User Interface in WPF[^]

            V Offline
            V Offline
            vivasaayi
            wrote on last edited by
            #5

            Thank you very much for your reply. However there is no rearrangement of controls. Just their shape, color, rotation are changed. While Searching I found 'Podder' and it uses Structural skinning concept. So that any one can create their skin. Ill do a little bit research and submit my result here. The WPF Podcatcher Series - Part 1 (Introducing Podder)[^] http://joshsmithonwpf.wordpress.com/about/podder-skinning-competition/#comments[^] But I want to know how to do the same using C# and Windows Forms (not WPF)?

            1 Reply Last reply
            0
            • V vivasaayi

              Thank you for your quick reply. I checked the link. I already tried WPF and created a sample application that can load themes. The problem is time taken to load the themes in WPF is high. Also I dont know how to change the complete layout (Not just color, shape of a control) runtime. So I am trying a solution in C# instead of moving to C#. Can u suggest some solutions? :)

              E Offline
              E Offline
              egenis
              wrote on last edited by
              #6

              Do accomplish this without using WPF, you are going to have to override the controls OnPaint method of the controls etc. Can become a bit messy...

              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