How to add controls created by me in the Visual Studio Toolbox? [closed]

-2

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 ?

    
asked by anonymous 26.10.2016 / 16:48

1 answer

1

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:

    
26.10.2016 / 16:57