_IInitEventHandler Interface (Microsoft.Office.Interop.InfoPath)
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)
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.