在Visual Studio中自动添加到自定义控件的工具箱 [英] Auto add to toolbox of custom controls in visual studio

查看:650
本文介绍了在Visual Studio中自动添加到自定义控件的工具箱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2008中,有一项功能可以自动添加工具箱窗格并添加自定义控件,这些控件位于我的Web应用程序项目或当前解决方案的类库中.

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.

在另一台PC上,它不起作用,我想知道我必须启用哪个设置,可能是在工具" |设置"中.选项...,为此.

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.

推荐答案

嗯,我不确定这是否是您要寻找的东西,但是在 Windows窗体设计器下的选项"对话框中>项,您可以在网格中找到名为 AutoToolboxPopulate 的属性.

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.

将其设置为true,以使VS自动将自定义控件添加到工具箱中.

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

这篇关于在Visual Studio中自动添加到自定义控件的工具箱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆