public bool Save(string saveFilePath, ref List <string> lstErrors) { XlsFile refXlsFile = this; bool bResult = ToolsXls.WriteXlsFile(ref refXlsFile, saveFilePath, ref lstErrors); refXlsFile = null; return(bResult); }
public void Load(string xlsFilePath, bool forceXlsAlt) { XlsFile refXlsFile = this; valid = ToolsXls.ReadXlsFile(ref refXlsFile, xlsFilePath, forceXlsAlt, true); refXlsFile = null; if (valid) { filePath = xlsFilePath; fileName = Path.GetFileName(xlsFilePath); } }