Compartilhar via


ApplicationEvents Interface

Definição

Uma coleção de objetos de evento que representam eventos do aplicativo InfoPath.

public interface class ApplicationEvents : Microsoft::Office::Interop::InfoPath::_ApplicationEvents_Event, Microsoft::Office::Interop::InfoPath::ApplicationEventsEmpty
[System.Runtime.InteropServices.Guid("096CD784-0786-11D1-95FA-0080C78EE3BB")]
public interface ApplicationEvents : Microsoft.Office.Interop.InfoPath._ApplicationEvents_Event, Microsoft.Office.Interop.InfoPath.ApplicationEventsEmpty
type ApplicationEvents = interface
    interface ApplicationEventsEmpty
    interface _ApplicationEvents_Event
Public Interface ApplicationEvents
Implements _ApplicationEvents_Event, ApplicationEventsEmpty
Derivado
Atributos
Implementações

Comentários

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. Para obter informações sobre a interface COM, incluindo um link para descrições de seus membros, consulte_ApplicationEvents_Event.

A coleção ApplicationEvents contém objetos de evento usados principalmente com suplementos COM para capturar eventos em todo o aplicativo. Esses eventos incluem:

NewXDocument EventoOcorre quando um novo formulário é criado.
Quit EventoOcorre quando o usuário encerra o InfoPath.
WindowActivate EventoOcorre quando qualquer janela de documento é ativada.
WindowDeactivate EventoOcorre quando qualquer janela de documento é desativada.
WindowSize EventoOcorre quando qualquer janela de documento é redimensionada ou movida.
XDocumentBeforeClose EventoOcorre imediatamente antes que qualquer documento aberto se feche.
XDocumentBeforePrint EventoOcorre imediatamente antes que qualquer documento aberto seja impresso.
XDocumentBeforeSave EventoOcorre imediatamente antes que qualquer documento aberto seja salvo.
XDocumentChange EventoOcorre quando um novo formulário é criado, quando um formulário existente é aberto ou quando um outro formulário torna-se o formulário ativo.
XDocumentOpen EventoOcorre quando um documento é aberto.

O Microsoft InfoPath é compatível com suplementos de COM para ampliar a experiência do usuário ao editar formulários. O suporte ao suplemento COM no InfoPath está disponível no ambiente de edição de formulários. O ambiente de design de formulário não pode ser estendido por meio do uso de suplementos COM. Para obter mais informações sobre como usar a coleção ApplicationEvents e criar um suplemento COM para InfoPath, consulte How To: Create a COM Add-in to Add-in to Add Custom Features to InfoPath.

Métodos

add_NewXDocument(_ApplicationEvents_NewXDocumentEventHandler)

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

(Herdado de _ApplicationEvents_Event)
add_Quit(_ApplicationEvents_QuitEventHandler)

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

(Herdado de _ApplicationEvents_Event)
add_WindowActivate(_ApplicationEvents_WindowActivateEventHandler)

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

(Herdado de _ApplicationEvents_Event)
add_WindowDeactivate(_ApplicationEvents_WindowDeactivateEventHandler)

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

(Herdado de _ApplicationEvents_Event)
add_WindowSize(_ApplicationEvents_WindowSizeEventHandler)

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

(Herdado de _ApplicationEvents_Event)
add_XDocumentBeforeClose(_ApplicationEvents_XDocumentBeforeCloseEventHandler)

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

(Herdado de _ApplicationEvents_Event)
add_XDocumentBeforePrint(_ApplicationEvents_XDocumentBeforePrintEventHandler)

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

(Herdado de _ApplicationEvents_Event)
add_XDocumentBeforeSave(_ApplicationEvents_XDocumentBeforeSaveEventHandler)

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

(Herdado de _ApplicationEvents_Event)
add_XDocumentChange(_ApplicationEvents_XDocumentChangeEventHandler)

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

(Herdado de _ApplicationEvents_Event)
add_XDocumentOpen(_ApplicationEvents_XDocumentOpenEventHandler)

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

(Herdado de _ApplicationEvents_Event)
remove_NewXDocument(_ApplicationEvents_NewXDocumentEventHandler)

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

(Herdado de _ApplicationEvents_Event)
remove_Quit(_ApplicationEvents_QuitEventHandler)

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

(Herdado de _ApplicationEvents_Event)
remove_WindowActivate(_ApplicationEvents_WindowActivateEventHandler)

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

(Herdado de _ApplicationEvents_Event)
remove_WindowDeactivate(_ApplicationEvents_WindowDeactivateEventHandler)

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

(Herdado de _ApplicationEvents_Event)
remove_WindowSize(_ApplicationEvents_WindowSizeEventHandler)

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

(Herdado de _ApplicationEvents_Event)
remove_XDocumentBeforeClose(_ApplicationEvents_XDocumentBeforeCloseEventHandler)

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

(Herdado de _ApplicationEvents_Event)
remove_XDocumentBeforePrint(_ApplicationEvents_XDocumentBeforePrintEventHandler)

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

(Herdado de _ApplicationEvents_Event)
remove_XDocumentBeforeSave(_ApplicationEvents_XDocumentBeforeSaveEventHandler)

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

(Herdado de _ApplicationEvents_Event)
remove_XDocumentChange(_ApplicationEvents_XDocumentChangeEventHandler)

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

(Herdado de _ApplicationEvents_Event)
remove_XDocumentOpen(_ApplicationEvents_XDocumentOpenEventHandler)

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

(Herdado de _ApplicationEvents_Event)

Eventos

NewXDocument

Ocorre quando um novo formulário é criado.

(Herdado de _ApplicationEvents_Event)
Quit

Ocorre quando o usuário encerra o InfoPath.

(Herdado de _ApplicationEvents_Event)
WindowActivate

Ocorre quando qualquer janela de documento é ativada.

(Herdado de _ApplicationEvents_Event)
WindowDeactivate

Ocorre quando qualquer janela de documento é desativada.

(Herdado de _ApplicationEvents_Event)
WindowSize

Ocorre quando qualquer janela de documento é redimensionada ou movida.

(Herdado de _ApplicationEvents_Event)
XDocumentBeforeClose

Ocorre imediatamente antes que qualquer documento aberto se feche.

(Herdado de _ApplicationEvents_Event)
XDocumentBeforePrint

Ocorre imediatamente antes que qualquer documento aberto seja impresso.

(Herdado de _ApplicationEvents_Event)
XDocumentBeforeSave

Ocorre imediatamente antes que qualquer documento aberto seja salvo.

(Herdado de _ApplicationEvents_Event)
XDocumentChange

Ocorre quando um novo formulário é criado, quando um formulário existente é aberto ou quando um outro formulário torna-se o formulário ativo.

(Herdado de _ApplicationEvents_Event)
XDocumentOpen

Ocorre quando um documento é aberto.

(Herdado de _ApplicationEvents_Event)

Aplica-se a