Auto add to toolbox of custom controls in visual studio

穿精又带淫゛_ 提交于 2019-11-28 03:46:56

问题


In Visual Studio 2008 there is a feature that automatically adds a toolbox pane and adds the custom controls which are in my web application project or in a class library in my current solution.

On another pc this is not working and I would like to know which setting I have to enable, probably in Tools | Options..., for this.

I am not looking for answers like: right click on the toolbox and then choose Add items.. I know how to do this but I am looking for the autodetect and add functionality in Visual Studio 2008 and to enable it on another pc.


回答1:


Hmm, I'm not sure if if this is what you are looking for, but in the Options dialog under the Windows Forms Designer item you can find a property in the grid that is called AutoToolboxPopulate.

Set it to true to let VS automatically add your custom controls to the tool box.



来源:https://stackoverflow.com/questions/1534150/auto-add-to-toolbox-of-custom-controls-in-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!