WindowEvents الواجهة

يوفر أحداث تغييرات إلى Windows في بيئة. استخدم هذا كائن للوظيفة والرجوع إلى WindowEventsClassهذا كائن الوثائق.

مساحة الاسم:  EnvDTE
التجميع:  EnvDTE (في EnvDTE.dll)

بناء الجملة

'إقرار
<GuidAttribute("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")> _
Public Interface WindowEvents _
    Inherits _WindowEvents, _dispWindowEvents_Event
[GuidAttribute("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")]
public interface WindowEvents : _WindowEvents, 
    _dispWindowEvents_Event
[GuidAttribute(L"0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")]
public interface class WindowEvents : _WindowEvents, 
    _dispWindowEvents_Event
[<GuidAttribute("0D3A23A8-67BB-11D2-97C1-00C04FB6C6FF")>]
type WindowEvents =  
    interface
        interface _WindowEvents
        interface _dispWindowEvents_Event
    end
public interface WindowEvents extends _WindowEvents, _dispWindowEvents_Event

ملاحظات

WindowEventsالكائن هو التي يتم إرجاعها بواسطة DTE.Events.

أمثلة

<System.ContextStaticAttribute()> Public WithEvents WindowEvents As EnvDTE.WindowEvents

Public Sub WindowEvents_WindowActivated(ByVal GotFocus As EnvDTE.Window, ByVal LostFocus As EnvDTE.Window) Handles WindowEvents.WindowActivated
   MsgBox("test")
End Sub

راجع أيضًَا

المرجع

WindowEvents الأعضاء

EnvDTE مساحة الاسم