Word VSTO 中的插件选项页面在哪里?
Where is addin options page in Word VSTO?
在 Outlook vsto 插件中添加一个选项页面我找到并使用了这个代码:
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
Outlook.Application oOutlook = Globals.ThisAddIn.Application;
oOutlook.OptionsPagesAdd += new Outlook.ApplicationEvents_11_OptionsPagesAddEventHandler(Application_OptionsPagesAdd);
}
Word 中的插件选项页面在哪里?
Word Add-On 没有这样的东西。您可以使用 WinForms 或 WPF 实现您的自定义 window,并通过单击 add-on 功能区控件中的按钮来显示它。
在 Outlook vsto 插件中添加一个选项页面我找到并使用了这个代码:
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
Outlook.Application oOutlook = Globals.ThisAddIn.Application;
oOutlook.OptionsPagesAdd += new Outlook.ApplicationEvents_11_OptionsPagesAddEventHandler(Application_OptionsPagesAdd);
}
Word 中的插件选项页面在哪里?
Word Add-On 没有这样的东西。您可以使用 WinForms 或 WPF 实现您的自定义 window,并通过单击 add-on 功能区控件中的按钮来显示它。