How do I add a user control to toolbox?
I want to create a CustomControl in toolbox in my C# appl开发者_开发技巧ication
If your component is within the project, you can have them automatically added to the toolbox. Go to: Tools -> Options -> Windows Forms Designer and enable the "AutoToolboxPopulate" option.
If it's in a separate solution, you can build the control library, and drag and drop on the toolbox to add the components.
精彩评论