I've created a control for WinForms
. But I can not find my control in the toolbox .
How can I add my control to the toolbox ?
I've created a control for WinForms
. But I can not find my control in the toolbox .
How can I add my control to the toolbox ?
Make your check (minimal example):
class BotaoTransparente : Button
{
public BotaoTransparente()
{
BackColor = Color.Transparent;
}
}
In visual studio 2015 the controls are automatically added when you build the project:
You have to build the project. To build the project click the right mouse button on the project and select build
TofindthetoolboxgotoView->Toolbox
Whendrawingyourform,lookforitscontrolanddragittotheform: