Compartir a través de


WindowEventsClass.WindowCreated (Evento)

Esta API es compatible con la infraestructura de .NET Framework y no está diseñada para utilizarse directamente desde el código.

Se produce cuando se crea una ventana nueva.

Espacio de nombres:  EnvDTE
Ensamblado:  EnvDTE (en EnvDTE.dll)

Sintaxis

'Declaración
Public Overridable Event WindowCreated As _dispWindowEvents_WindowCreatedEventHandler
public virtual event _dispWindowEvents_WindowCreatedEventHandler WindowCreated
public:
virtual   event _dispWindowEvents_WindowCreatedEventHandler^ WindowCreated {
    void add (_dispWindowEvents_WindowCreatedEventHandler^ value);
    void remove (_dispWindowEvents_WindowCreatedEventHandler^ value);
}
abstract WindowCreated : IEvent<_dispWindowEvents_WindowCreatedEventHandler,
    EventArgs>
override WindowCreated : IEvent<_dispWindowEvents_WindowCreatedEventHandler,
    EventArgs>
JScript no admite eventos.

Implementaciones

_dispWindowEvents_Event.WindowCreated

Ejemplos

Public Sub WindowEvents_WindowCreated(ByVal Window As EnvDTE.Window) Handles WindowEvents.WindowCreated
   MsgBox("test")
End Sub

Seguridad de .NET Framework

Vea también

Referencia

WindowEventsClass Clase

EnvDTE (Espacio de nombres)