void _WordApplication_ProtectedViewWindowActivate(Microsoft.Office.Interop.Word.ProtectedViewWindow PvWindow) { DisplayInWatchWindow(countProtectedViewWindowActivate++, System.Reflection.MethodInfo.GetCurrentMethod().Name); }
void _WordApplication_ProtectedViewWindowBeforeClose(Microsoft.Office.Interop.Word.ProtectedViewWindow PvWindow, int CloseReason, ref bool Cancel) { DisplayInWatchWindow(countProtectedViewWindowBeforeClose++, System.Reflection.MethodInfo.GetCurrentMethod().Name); }