Share via


_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
'Usage

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.

See Also

Reference

_IInitEventHandler Members
Microsoft.Office.Interop.InfoPath Namespace