WindowEventsClass.WindowCreated 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在创建新窗口时发生。
此 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
事件类型
实现
示例
Public Sub WindowEvents_WindowCreated(ByVal Window As EnvDTE.Window) Handles WindowEvents.WindowCreated
MsgBox("test")
End Sub