Edytuj

Udostępnij za pośrednictwem


_IInitEventHandler Interface

Definition

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.

public interface class _IInitEventHandler
[System.Runtime.InteropServices.Guid("096CD73A-0786-11D1-95FA-0080C78EE3BB")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface _IInitEventHandler
type _IInitEventHandler = interface
Public Interface _IInitEventHandler
Attributes

Remarks

The InitEventHandler(Object, _XDocument, XdReadOnlyViewMode) 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 ApplicationWhat's New for InfoPath Developers.

Methods

InitEventHandler(Object, _XDocument, XdReadOnlyViewMode)

Handles the initialization event when a form is loaded in the hosted InfoPathEditor object.

Applies to