IInitEventHandler 接口

定义

必须在主机应用程序中实现的接口,以处理在自定义应用程序中托管的对象中 InfoPathEditor 加载窗体时发生的事件。

public interface class IInitEventHandler
public interface IInitEventHandler
type IInitEventHandler = interface
Public Interface IInitEventHandler

注解

InfoPathEditor 对象托管在自定义应用程序中时,可以使用 IInitEventHandler 接口。 有关 InfoPathEditorFormControl 对象 的详细信息,请参阅 MSDN 一文在自定义 Windows 窗体应用程序中托管 InfoPath 表单编辑环境面向 InfoPath 开发人员的新增功能。

方法

InitEventHandler(Object, XmlForm, XdReadOnlyViewMode)

在托管 InfoPathEditor 对象中加载窗体时处理初始化事件。

适用于