Visual Studio 'Outlook 2013 Add-in' 项目中的继承表单创建

Inherited form creation within Visual Studio 'Outlook 2013 Add-in' project

① 在 Visual Studio 2013 年,对于 'Windows Form Application' 项目,用户可以通过 'Project' 菜单/ 'Add New Item...'命令。

在 'Windows Forms' 列表中 selecting 'Inhereted Form' 后,'Inheritance Picker' 对话框允许用户从 select 组件继承。

② 在 Visual Studio 2013 年,对于 'Outlook 2013 Add-in' 项目,用户 不允许 基于现有 Windows 创建新表单通过 'Project' 菜单/'Add New Item...' 命令形成。

'Inherited Form' 在 'Windows Forms' 的列表中缺失。

问题:有什么理由存在这样的差异吗?如果没有,如何在 Visual Studio 中的 'Outlok 2013 Add-in' 项目中创建继承表单?

基于 VSTO 的加载项不是独立的应用程序。我认为开发人员不会在那里创建非常复杂的 UI(独立表单)。

而且我相信您可以在 Visual Studio 中创建一个新表单,然后将其基础 class (System.Windows.Forms.Form) 更改为现有表单。