Using Custom Controls in Windows Form Designer

Started by
0 comments, last by malpass 20 years, 8 months ago
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?
Advertisement
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?

This topic is closed to new replies.

Advertisement