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

查看:18
本文介绍了自动添加到 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.

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

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.

我不是在寻找类似的答案:右键单击工具箱,然后选择添加项目.我知道如何执行此操作,但我正在寻找 Visual Studio 2008 中的自动检测和添加功能,并在另一台电脑上启用它.

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天全站免登陆