Sign in to follow this  

[.net] Skinning C# applications...

This topic is 4208 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I've been trying to research possible ways of skinning applications in C#. I've searched and searched but there's so little information out there. I heard that you could do it by overriding the Paint function for various controls? Right, wrong? Any links to resources would be helpful too. Thanks in advance.

Share this post


Link to post
Share on other sites
Overriding OnPaint on existing controls is one way to do it, and probably the easiest and "best" way, since controls will still act like standard Windows controls.

One other option is to build a control completely from scratch, by deriving from the Control class and do all painting and input handling yourself. This is the Hard Way.

To create forms and controls with custom shapes, I suggest reading this article: http://www.codeguru.com/csharp/csharp/cs_misc/graphicsandimages/article.php/c4259/

Share this post


Link to post
Share on other sites
Quote:
Original post by TheTroll
Ernow the link that you gave is for 3.0 Net stuff, still in beta, I think the person might want something that they can use now.

theTroll


I know. Beta 2 at the moment. It doesn't hurt to look forward or to steal some ideas of upcomming technologies...

Share this post


Link to post
Share on other sites

This topic is 4208 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this