命令栏事件触发器-请帮忙 [英] Commandbar event trigger- help please

查看:96
本文介绍了命令栏事件触发器-请帮忙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用C#构建Office加载项,但无法完成该项目.我已经成功构建了一个带有按钮和功能的新工具栏,以启动表单,但是我想要做的是也通过默认(标准)命令栏和文件(菜单)命令栏进入创建新页面的默认方法. .

我已经为此全力以赴,并希望使用新版本的Visual Studio会有所帮助,但仍然无法弄清楚.例如,在excel中,有人可以单击标准命令栏上的新电子表格"按钮.如果有人点击了该按钮,我想覆盖该点击,而是启动我的表单.

任何人都可以帮忙吗?我完全不知所措.在此先感谢您提供的任何帮助.

I'm building an office add-in in C# and having trouble completing the project.  I've successfully built a new toolbar with buttons and functionality to launch a form, but what I want to do is also tap into the default methods of create a new page through the default (standard) command bar and file (Menu) command bar.

I've searched my heart out for this and was hoping that using the new version of Visual Studio would be helpful but an still unable to figure it out.  For example, in excel, someone can click the new spreadsheet button on the standard command bar.  If someone clicks that, I want to override the click and launch my form instead. 

Can anyone help?  I'm at a total loss.  Thanks in advance for any assistance you can provide.

推荐答案

标记为已死


这篇关于命令栏事件触发器-请帮忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆