WindowEventsClass.WindowCreated 事件

定义

在创建新窗口时发生。

此 API 支持产品基础结构,不能在代码中直接使用。

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

事件类型

_dispWindowEvents_WindowCreatedEventHandler

实现

示例

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

适用于