public void ClearEverything(string file) { taxreturn.CloseFileHandle(); System.IO.File.Delete(file); taxreturn = new TaxprepT2Com2014V2.Taxprep2014T2Return(); taxreturn.SaveAs(file); }
public FieldComparer(string comFilePath, string middlewareFilePath, string ifsFolderPath, string ifsFileName) { fm = new fileMiddleware(middlewareFilePath); currentIFS = new IncrementalFileSystem(ifsFolderPath, ifsFileName); fm.addNewFile(currentIFS.GetPath(), currentIFS.GetFullPath()); taxreturn = new TaxprepT2Com2014V2.Taxprep2014T2Return(); taxreturn.Open(comFilePath); }