WindowEventsClass.WindowCreated Event

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Occurs when a new window is created.

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

Syntax

'Declaration
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 does not support events.

Implements

_dispWindowEvents_Event.WindowCreated

Examples

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

.NET Framework Security

See Also

Reference

WindowEventsClass Class

EnvDTE Namespace