I want to create a custom control in C # that I will use several times in my application, but I’m unlikely to use it in other applications. I have seen several websites that explain how to create a custom control and add it to the Visual Studio toolbar. They instruct you to create a project with a custom control that compiles into a DLL, then create a new project for the application and add a link to that DLL in the toolbar. However, I would prefer my application to be the only executable that does not depend on the DLL. Is there a way to place the user control and application in the same project and still have a custom control in the Visual Studio toolbar? Or,if it is not possible to add the control to the toolbar, is there another way to view the control in the application designer?
Brian source
share