Condividi tramite


Evento WindowEventsClass.WindowCreated

Aggiornamento: novembre 2007

Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.

Viene generato quando viene creata una nuova finestra.

Spazio dei nomi:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Sintassi

Public Overridable Event WindowCreated As _dispWindowEvents_WindowCreatedEventHandler

Dim instance As WindowEventsClass
Dim handler As _dispWindowEvents_WindowCreatedEventHandler

AddHandler instance.WindowCreated, handler
public virtual event _dispWindowEvents_WindowCreatedEventHandler WindowCreated
public:
virtual  event _dispWindowEvents_WindowCreatedEventHandler^ WindowCreated {
    void add (_dispWindowEvents_WindowCreatedEventHandler^ value);
    void remove (_dispWindowEvents_WindowCreatedEventHandler^ value);
}
JScript non supporta gli eventi.

Implementa

_dispWindowEvents_Event.WindowCreated

Esempi

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

Autorizzazioni

Vedere anche

Riferimenti

WindowEventsClass Classe

Membri WindowEventsClass

Spazio dei nomi EnvDTE