コード例 #1
0
 // --------------------------------------------------------------------------------------------
 /// <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);
 }
コード例 #2
0
ファイル: WindowFrame.cs プロジェクト: sunpander/VSDT
 // --------------------------------------------------------------------------------------------
 /// <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;
 }