简体   繁体   English

在Outlook 2007、2010、2013中使用共享加载项(而非VSTO)添加CustomUI功能区

[英]Adding CustomUI Ribbon using Shared Add-in(not VSTO) in Outlook 2007,2010,2013

I am using VS 2010 and my project template is Extensibility->Shared Add-in. 我正在使用VS 2010,我的项目模板是“可扩展性”->“共享加载项”。 I want an ribbon with a button which should invoke my form in outlook. 我想要一个带有按钮的功能区,该功能区应在Outlook中调用我的表单。 I am not able to understand how to do this? 我不明白该怎么做?

I created a ribbonName.xml and ribbionName.cs using office template Outlook2007 Add-in and add this two files in my Shared Add-in Am I doing it right or What should i do ? 我使用Office模板Outlook2007加载项创建了RibbonName.xml和ribbionName.cs,并将这两个文件添加到共享加载项中吗?我做对了还是应该怎么办?

Please can anyone guide me a how to do it ? 请谁能指导我该怎么做?

Where should i add this method in Connect Or ? 我应该在哪里在Connect Or中添加此方法? when i add this in Connect It gives me error "no sutiable method to overload" 当我在Connect中添加它时,出现错误“没有可重用的方法”

protected override Microsoft.Office.Core.IRibbonExtensibility CreateRibbonExtensibilityObject()  {
     return new TurboAddinsRibbon();
  }

Can anyone please give me a simple example on this it would be great help 谁能给我一个简单的例子,这将是很大的帮助

您可以从MSDN参考 -Ribbon 概述RibbonManagerBackStage 视图开始。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM