Freigeben über


WindowEventsClass.WindowCreated-Ereignis

Aktualisiert: November 2007

Diese API unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung in Code bestimmt.

Tritt beim Erstellen eines neuen Fensters ein.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

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 unterstützt keine Ereignisse.

Implementiert

_dispWindowEvents_Event.WindowCreated

Beispiele

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

Berechtigungen

Siehe auch

Referenz

WindowEventsClass-Klasse

WindowEventsClass-Member

EnvDTE-Namespace