private void ajouter_bl_Click(object sender, EventArgs e) { LineClient _form = new LineClient(_p.entry_n); if (_form.ShowDialog() == DialogResult.OK) { poids_recep_tb.Text = PesageHeaderDao.updateWeightPesageHeader(_p.entry_n).ToString(); getBLs(_p.entry_n); } }
private void editer_b_Click(object sender, EventArgs e) { try { int entry_n = int.Parse(BLs_DGV.CurrentRow.Cells["Entry N°"].Value.ToString()); LineClient _form = new LineClient(_p.entry_n, entry_n); if (_form.ShowDialog() == DialogResult.OK) { poids_recep_tb.Text = PesageHeaderDao.updateWeightPesageHeader(_p.entry_n).ToString(); getBLs(_p.entry_n); } } catch { } }