// -------------------------------------------------------------------------------------------- /// <summary> /// Notifies the VSPackage of a change in the window's display state. /// </summary> /// <param name="fShow"> /// Specifies the reason for the display state change. Value taken from the __FRAMESHOW. /// </param> /// <returns> /// If the method succeeds, it returns S_OK. If it fails, it returns an error code. /// </returns> // -------------------------------------------------------------------------------------------- int IVsWindowFrameNotify3.OnShow(int fShow) { if (OnShow != null) { var e = new WindowFrameShowEventArgs((FrameShow)fShow); OnShow(this, e); } InvokeStatusChanged(); return(VSConstants.S_OK); }
// -------------------------------------------------------------------------------------------- /// <summary> /// Notifies the VSPackage of a change in the window's display state. /// </summary> /// <param name="fShow"> /// Specifies the reason for the display state change. Value taken from the __FRAMESHOW. /// </param> /// <returns> /// If the method succeeds, it returns S_OK. If it fails, it returns an error code. /// </returns> // -------------------------------------------------------------------------------------------- int IVsWindowFrameNotify3.OnShow(int fShow) { if (OnShow != null) { var e = new WindowFrameShowEventArgs((FrameShow) fShow); OnShow(this, e); } InvokeStatusChanged(); return VSConstants.S_OK; }