如何在 Visual Studio 2010 插件的菜单中添加文本框?

发布于 2024-08-29 08:33:06 字数 305 浏览 1 评论 0原文

我想在 Visual Studio 2010 中的项目、项目和解决方案菜单中添加一个文本框。
看来我在 Visual Studio 2008 中的做法不再有效。

老方法:
menuItem = _applicationObject.GetCommandBar("item").Controls.Add(MsoControlType.msoControlEdit, 1, "", 1, false);

有没有办法在 Visual Studio 2010 中执行此操作?执行上面的代码返回我只能添加弹出窗口和按钮。

干杯
/吉米

I would like to add a texbox to the Project,Item and solution menu in Visual Studio 2010.
It seems the way I did it in Visual Studio 2008 no longer work.

Old way:
menuItem = _applicationObject.GetCommandBar("item").Controls.Add(MsoControlType.msoControlEdit, 1, "", 1, false);

Is there a way of doing this in Visual Studio 2010? Doing the above code returns that I can only add popup and button.

Cheers
/Jimmy

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

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

发布评论

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

评论(1

执笔绘流年 2024-09-05 08:33:06

不幸的是,这在 Visual Studio 2010 中无法完成。

Unfortunately that can't be done in Visual Studio 2010.

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