public LopOffList() { _Persons = Person.GetPersons(); foreach (var look in _Persons) { var ts = look as KöTaf.DataModel.Person; DataLine = String.Concat(ts.TableNo, dL, ts.NumberOfPersonInHousholdString, dL, ts.Group.ToString(), dL, ts.FullName, dL, ts.City, dL, ts.ValidityEnd.ToShortDateString(), "", ""); PrintModul.WriterCSV("", DataLine, this.wasWritten); this.wasWritten = true; } this.wasWritten = false; try { Libre_LopOffListConverter LopOff = new Libre_LopOffListConverter(PrintType.LopOffList); } catch (Exception ex) { throw ex; } }
public LopOffList() { _Persons = Person.GetPersons(); foreach (var look in _Persons) { var ts = look as KöTaf.DataModel.Person; DataLine = String.Concat(ts.TableNo,dL,ts.NumberOfPersonInHousholdString,dL, ts.Group.ToString(), dL, ts.FullName,dL,ts.City,dL,ts.ValidityEnd.ToShortDateString(),"",""); PrintModul.WriterCSV("", DataLine,this.wasWritten); this.wasWritten = true; } this.wasWritten = false; try { Libre_LopOffListConverter LopOff = new Libre_LopOffListConverter(PrintType.LopOffList); } catch (Exception ex) { throw ex; } }