Esempio n. 1
0
 public void Dispose()
 {
     try
     {
         _excel = null;
     }
     catch { }
 }
Esempio n. 2
0
 public bool OpenExcelFile(string fileName, string password, bool visible)
 {
     try
     {
         if (!Core.General.Check())
         {
             return(false);
         }
         _excel = new UnvaryingSagacity.ExcelExplorer.Interop.ExcelCellTextReaderClass();
         return(_excel.OpenExcelFile(fileName, password));
     }
     catch { return(false); }
 }