共用方式為


WindowEventsClass.WindowCreated Event

Definition

Occurs when a new window is created.

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

public:
 virtual event EnvDTE::_dispWindowEvents_WindowCreatedEventHandler ^ WindowCreated;
public:
 virtual event EnvDTE::_dispWindowEvents_WindowCreatedEventHandler ^ WindowCreated;
public virtual event EnvDTE._dispWindowEvents_WindowCreatedEventHandler WindowCreated;
member this.WindowCreated : EnvDTE._dispWindowEvents_WindowCreatedEventHandler 
Public Overridable Custom Event WindowCreated As _dispWindowEvents_WindowCreatedEventHandler Implements WindowCreated

Event Type

Implements

Examples

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

Applies to