編輯

共用方式為


_ApplicationEvents_Event Interface

Definition

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeApplicationEvents

public interface class _ApplicationEvents_Event
[System.Runtime.InteropServices.ComVisible(false)]
public interface _ApplicationEvents_Event
type _ApplicationEvents_Event = interface
Public Interface _ApplicationEvents_Event
Derived
Attributes

Methods

add_NewXDocument(_ApplicationEvents_NewXDocumentEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

add_Quit(_ApplicationEvents_QuitEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

add_WindowActivate(_ApplicationEvents_WindowActivateEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

add_WindowDeactivate(_ApplicationEvents_WindowDeactivateEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

add_WindowSize(_ApplicationEvents_WindowSizeEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

add_XDocumentBeforeClose(_ApplicationEvents_XDocumentBeforeCloseEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

add_XDocumentBeforePrint(_ApplicationEvents_XDocumentBeforePrintEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

add_XDocumentBeforeSave(_ApplicationEvents_XDocumentBeforeSaveEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

add_XDocumentChange(_ApplicationEvents_XDocumentChangeEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

add_XDocumentOpen(_ApplicationEvents_XDocumentOpenEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

remove_NewXDocument(_ApplicationEvents_NewXDocumentEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

remove_Quit(_ApplicationEvents_QuitEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

remove_WindowActivate(_ApplicationEvents_WindowActivateEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

remove_WindowDeactivate(_ApplicationEvents_WindowDeactivateEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

remove_WindowSize(_ApplicationEvents_WindowSizeEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

remove_XDocumentBeforeClose(_ApplicationEvents_XDocumentBeforeCloseEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

remove_XDocumentBeforePrint(_ApplicationEvents_XDocumentBeforePrintEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

remove_XDocumentBeforeSave(_ApplicationEvents_XDocumentBeforeSaveEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

remove_XDocumentChange(_ApplicationEvents_XDocumentChangeEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

remove_XDocumentOpen(_ApplicationEvents_XDocumentOpenEventHandler)

This member is reserved for internal use and is not intended to be used directly from your code.

Events

NewXDocument

Occurs when a new form is created.

Quit

Occurs when the user quits InfoPath.

WindowActivate

Occurs when any document window is activated.

WindowDeactivate

Occurs when any document window is deactivated.

WindowSize

Occurs when any document window is resized or moved.

XDocumentBeforeClose

Occurs immediately before any open document closes.

XDocumentBeforePrint

Occurs immediately before any open document is printed.

XDocumentBeforeSave

Occurs immediately before any open document is saved.

XDocumentChange

Occurs when a new form is created, when an existing form is opened, or when another form is made the active form.

XDocumentOpen

Occurs when a document is opened.

Applies to