public static Xlsx Load(string filename) { Xlsx x = new Xlsx(new DirAccess(filename)); x.Load(); #if false try { } catch (Exception e) { if (x.Error == null) { x.Error = "Generic loading error"; } x.Error += e; x.Workbook = null; } #endif return(x); }
public static Xlsx Load (string filename) { Xlsx x = new Xlsx (new DirAccess (filename)); x.Load (); #if false try { } catch (Exception e){ if (x.Error == null) x.Error = "Generic loading error"; x.Error += e; x.Workbook = null; } #endif return x; }