Example #1
0
 void Application_WorkbookBeforeClose(Excel.Workbook Wb, ref bool Cancel)
 {
     if (Wb.Equals(_workbook))
     {
         close();
     }
 }