I have a custom control DLL. How can I add these custom controls to VS2008 tool box programatically?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
- Right-click on toolbox
- select "Choose Items"
- browse to your DLL.
- Add the items
回答2:
There are several ways to do it:
As explained at MSDN Tutorial: Installing Controls By Using the Toolbox Controls Installer you do it from an installer.
There's also another possibility using a command line program available on CodePlex. You use this application with your favorite installer or you can invoke it manually.