【发布时间】:2015-01-06 15:59:41
【问题描述】:
对于使用 .Net 3.5 开发的 Outlook 插件,此消息在 Outlook 2013 启动时显示。我已经尝试过这篇文章中的建议:This addin caused outlook to start slowly 但没有任何运气。 这是我的初始方法:
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
_Explorers = this.Application.Explorers;
_Inspectors = this.Application.Inspectors;
_Explorers.Application.NewMailEx += new Outlook.ApplicationEvents_11_NewMailExEventHandler(Application_ItemReceive);
_Explorers.Application.Reminders.ReminderFire += new Outlook.ReminderCollectionEvents_ReminderFireEventHandler(Application_ReminderFire);
outlookNamespace = this.Application.GetNamespace("MAPI");
}
【问题讨论】:
标签: c# .net outlook .net-3.5 outlook-addin