private void csvExport_Click(object sender, EventArgs e) { if (brewelist.Count > 0 && saveFileDialog1.ShowDialog() != DialogResult.Cancel) { BrewerUtil.writeList(saveFileDialog1.FileName, brewelist); } }
private void check_Click(object sender, EventArgs e) { var l = BrewerUtil.getBrewers(); var db = new BrewerDB(); db.open(); foreach (var b in l) { // Console.WriteLine(b); db.regist(b); } db.close(); }