We have a Visual Studio 2010 menu addin. On clicking the menu, we load a window (EnvDTE.Window) with a user control. I need to know when the window is closed by the user by clicking on the X button. How do I capture this event?
↧