void LuuFile() { try { string namefileoutput = lblduongdan.Text + "/" + txtFileMaHoa.Text + ".csv"; rwobj.ReadAndWriteMaHoa(pbCreateFile, txtDuongDanFile.Text.ToString(), namefileoutput); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
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); } }