WindowEventsClass::WindowClosing Event
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Occurs just before a window closes.
Assembly: EnvDTE (in EnvDTE.dll)
public: event _dispWindowEvents_WindowClosingEventHandler^ WindowClosing { virtual void add(_dispWindowEvents_WindowClosingEventHandler^ value); virtual void remove(_dispWindowEvents_WindowClosingEventHandler^ value); }
Implements
_dispWindowEvents_Event::WindowClosingPublic Sub WindowEvents_WindowClosing(ByVal Window As EnvDTE.Window) Handles WindowEvents.WindowClosing MsgBox("test") End Sub
Show: