Пример #1
0
        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;
            }
        }
Пример #2
0
 public void Add(CsvVar cv)
 {
     CsvVars.Add(cv);
 }