Beispiel #1
0
 /// <summary>
 /// Restores the tracked document if not already active.
 /// </summary>
 internal void RestoreTrackedDocument()
 {
     if (TrackedDocument != null && Package.ActiveDocument != TrackedDocument)
     {
         TrackedDocument.Activate();
     }
 }
 /// <summary>
 /// Restores the tracked document if not already active.
 /// </summary>
 private void RestoreTrackedDocument()
 {
     if (TrackedDocument != null && Package.IDE.ActiveDocument != TrackedDocument)
     {
         TrackedDocument.Activate();
     }
 }