Jump to content
  • Advertisement
Sign in to follow this  
Kryptus

[.net] Skinning C# applications...

This topic is 4418 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
Advertisement
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

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!