如何在 Visual Studio 2010 插件的菜单中添加文本框?
我想在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,这在 Visual Studio 2010 中无法完成。
Unfortunately that can't be done in Visual Studio 2010.