private void btnTransection_Click(object sender, EventArgs e) { FormTransection frmtransection = new FormTransection(); frmtransection.ShowDialog(); Report(); }
private void btnEdite_Click(object sender, EventArgs e) { if (dgvReport.CurrentRow != null) { int Id = int.Parse(dgvReport.CurrentRow.Cells[0].Value.ToString()); FormTransection formTransection = new FormTransection(); formTransection.AccontID = Id; if (formTransection.ShowDialog() == DialogResult.OK) { Filter(); } } }