_IInitEventHandler Interface
The interface that must be implemented in the host application to handle the event that occurs when a form is loaded in the InfoPathEditor object, which is hosted in a custom application.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
<GuidAttribute("096CD73A-0786-11D1-95FA-0080C78EE3BB")> _
<InterfaceTypeAttribute()> _
Public Interface _IInitEventHandler
'Usage
Dim instance As _IInitEventHandler
[GuidAttribute("096CD73A-0786-11D1-95FA-0080C78EE3BB")]
[InterfaceTypeAttribute()]
public interface _IInitEventHandler
Remarks
The InitEventHandler method of the _IInitEventHandler interface is where custom code should be located to handle the initialization of a form.
The _IInitEventHandler interface is available for use when the InfoPathEditor object is hosted in a custom application. For more information about the InfoPathEditor and the FormControl objects , see the MSDN article Hosting the InfoPath 2007 Form Editing Environment in a Custom Windows Form Application and the "The InfoPath Editor Hosted As a Control" section of What's New for InfoPath Developers.