void loadCsv(string csvName) { csv = tmtp.Template.getCsvVar(csvName); try { using (StreamReader sr = new StreamReader(Program.getCsvPath(csv, tmtp.Template), csv.Encoding)) { csvText = sr.ReadToEnd(); } } catch (IOException ex) { MessageBox.Show(ex.Message); return; } }
public void Add(CsvVar cv) { CsvVars.Add(cv); }