且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Visual Studio中自动添加到自定义控件的工具箱

更新时间:2023-12-06 16:15:28

嗯,我不确定这是否是您要寻找的东西,但是在 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.