Inheritance: EditorWindow
 private void WindowEventsOnWindowActivated(Window gotFocus, Window lostFocus)
 {
     try
     {
         var document = _objDte.ActiveWindow.Document;
         if (document != null)
             HandleActivity(document.FullName, false);
     }
     catch (Exception ex)
     {
         Logger.Error("WindowEventsOnWindowActivated", ex);
     }
 }
Exemple #2
0
 private void WindowsEventsOnWindowActivated(Window gotFocus, Window lostFocus)
 {
     try
     {
         if (gotFocus.Document != null)
             HandleActivity(gotFocus.Document.FullName, false);
     }
     catch (Exception ex)
     {
         Logger.Error("WindowsEventsOnWindowActivated", ex);
     }
 }