IcingDeath
New member
- Joined
- Jun 27, 2006
- Messages
- 2
- Programming Experience
- 3-5
As far as I can remember I was never completely satisfied with the way my apps looked and if I was, I got bored of the way the looked after using them for so much in their debug stage. So yesterday I tried to find some sort of free skin component. That turned up nothing. I found some controls in the range of 50$ and I was tempted to buying them but when I tested them they kind of sucked. The only good controls I found costed around 300$ which is pretty high for my budget. So I sat down and tried to think of an easy way to make my own skin component. Here is what I got so far from the design point of view:
1) application that creates skins
2) DLL that applications will use
I will also post a screenshot of what I did so far and I would like some input
If I manage to complete this project, I will post it here along with the source code.
1) application that creates skins
- Opens assemblies with reflection and lists all forms in them
- After the user selects a form, it passes it to the 'designer' form
- The 'designer' has a property grid, a picturebox and a textbox
- A preview of the form for which the skin is being built is shown on the picture box and the user can click on the various controls that form has and edit their properties through the property grid.
- I am also thinking of enabling the user to write event handlers (like for the Paint event) to provide more flexibility - that it is what the textbox is for
- The designer will save all this information in an xml file (thats a piece of cake)
- During startup of a form the some method from a class in the dll would be called to apply all the property changes that the skin designer set, plus hook all events to the eventhandlers he wrote and thats it....
If I manage to complete this project, I will post it here along with the source code.