我正在为Outlook 2016编写一个插件.我在我的Outlook Vsto项目中添加并集成了一个UserControl页面但唯一的问题是,我想把我的Usercontrol页面添加到新的邮件发送页面中去
myUserControl = new UserControl();
CustomTaskPane = this.CustomTaskPanes.Add(myUserControl, "Title", "what do I need to write to appear on the message page?" );
myCustomTaskPane.Visible = true;
myUserControl.Width = 500;
你需要创建一个Outlook窗体区域,见 演练。设计一个Outlook表格区域 以获取更多信息。
在 "确定将显示此窗体区域的信息类 "页面上,选择邮件信息,然后单击 "完成"。