Skins in C#
-
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)
-
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)
-
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[^]
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? :)
-
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? :)
-
hi..checkout this link: Creating a Skinned User Interface in WPF[^]
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)?
-
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? :)