如何让 Visual Studio ToolBox 自动填充项目组件?
我正在构建一个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个选择。工具 + 选项、Windows 窗体设计器、常规、AutoToolboxPopulate 必须设置为 True。
It is an option. Tools + Options, Windows Forms Designer, General, AutoToolboxPopulate must be set to True.