如何让 Visual Studio ToolBox 自动填充项目组件?

发布于 2024-10-01 01:14:16 字数 215 浏览 0 评论 0原文

我正在构建一个 Visual Studio 2008 .NET Framework 2.0 项目。它有一些自定义组件。这些不会填充到工具箱中。为什么不呢?

我曾经向框中添加了一个自定义用户控件,它会自动添加我的所有组件。但是,当我重新启动 Visual Studio 2008 时,它无法自动填充属于项目的组件。

关于如何让它们自动填充有什么想法吗?看起来像是 VS2008 的错误。

I have a Visual Studio 2008 .NET Framework 2.0 project that I'm building. It has some custom components. These are not populated into the Toolbox. Why not?

I once added a custom user control to the box, and it auto added all my components. But, when I restarted Visual Studio 2008, it failed to auto populate the components that are part of the project.

Any idea on how to get them to auto populate? Seems like a VS2008 bug.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

倒数 2024-10-08 01:14:16

这是一个选择。工具 + 选项、Windows 窗体设计器、常规、AutoToolboxPopulate 必须设置为 True。

在此处输入图像描述

It is an option. Tools + Options, Windows Forms Designer, General, AutoToolboxPopulate must be set to True.

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文