1

I have created a component and it is automatically shown in toolbox when I open the solution. It can be placed on form, I can change properties etc.

When I close the solution and install it in toolbox (choose toolbox item menu), I want this component to be shown in a different group (other than "All Windows Forms" group). How can I do it?

EDIT: I want my components to be shown in a custom group such as "My Components".

4

2 回答 2

2

您可以使用鼠标简单地将其拖到所需的组中。如果要添加新组,请右键单击工具箱窗口并选择“添加选项卡”。

于 2009-11-12T08:16:09.860 回答
2

如果要安装完成的组件,可以将组件复制到C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies,然后使用组件选项板的上下文菜单添加新组并将组件插入该组。

如果您想创建一个在分发组件时自动执行此操作的“设置”,则可以使用一个名为Visual Studio Toolbox Manager的工具在任何开发机器上安装该组件,而无需上述手动复制过程。

不确定这是否是您正在寻找的,但是...

于 2009-11-12T09:52:58.237 回答