Skinned Windows Form -Again!!

vis781

Well-known member
Joined
Aug 30, 2005
Messages
2,016
Location
Cambridge, UK
Programming Experience
5-10
Ok, so here is a simple example on how to skin a windows form. It should behave exactly like a normal windows form. It's a class library project so compile it, add a reference to it in a winforms app and inherit the custom base form. As far as I can tell it works fine. But any problems and let me know.
You can change the look but altering the graphics, so feel free to have a play around with it.
I originally wrote this in VC++ for perfrmance reasons but here is the VB.Net version. It actually performs quite well.
One small problem is that when the form maximises it seems to 'forget' the outerbounds of the Non Client area. I don't know why maybe someone can tell me:)
 

Attachments

  • CustomForm.zip
    75.8 KB · Views: 62
Back
Top