Condividi tramite


Evento WindowEventsClass.WindowCreated

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

'Dichiarazione
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 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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

WindowEventsClass Classe

Spazio dei nomi EnvDTE