Archived

This topic is now archived and is closed to further replies.

malpass

Using Custom Controls in Windows Form Designer

Recommended Posts

malpass    122
I''v made a custom control, just a simple button to start with, by deriving a class from Button. But how do I add it when using the form designer? If you derive a class from UserControl it appears in the toolbar, but it doesnt on this, how can I use my controls in the designer?

Share this post


Link to post
Share on other sites
malpass    122
Also im having some trouble on the enable/disable paint event. Could someone who knows how to do these custom controls send me the src to a simple custom button with say different colored borders on enable and disable?

Share this post


Link to post
Share on other sites