Esempio n. 1
0
 void LuuFile()
 {
     try
     {
         string namefileoutput = lblduongdan.Text + "/" + txtFileMaHoa.Text + ".csv";
         rwobj.ReadAndWriteMaHoa(pbCreateFile, txtDuongDanFile.Text.ToString(), namefileoutput);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Esempio n. 2
0
 void LuuFile()
 {
     //List<LotteryPattern> lst = rwobj.ReadCSV(txtDuongDanFile.Text.ToString(),false);
     //rwobj.WriteCSV(lst, lblduongdan.Text + "/" + txtFileMaHoa.Text);
     try
     {
         rwobj.ReadAndWriteMaHoa(txtDuongDanFile.Text.ToString(), lblduongdan.Text + "/" + txtFileMaHoa.Text);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }