コード例 #1
0
 /// <include file='doc\CodeWindowManager.uex' path='docs/doc[@for="DocumentProperties.UpdateSelection"]/*' />
 /// <summary>
 /// Call this method when you want the document properties window updated with new information.
 /// </summary>
 public void Refresh()
 {
     if (this.tracker != null && this.visible)
     {
         NativeMethods.ThrowOnFailure(tracker.OnSelectChange(this));
     }
 }
コード例 #2
0
        void SetPropertyWindow()
        {
            IVsTrackSelectionEx track = _serviceProvider.GetService(typeof(SVsTrackSelectionEx)) as IVsTrackSelectionEx;

            if (track != null)
            {
                track.OnSelectChange(this);
            }
        }