private void guna2GradientBtnModifierVersement_Click(object sender, EventArgs e) { if (guna2DataGridViewVersement.SelectedRows.Count > 0) { for (int i = 0; i < guna2DataGridViewVersement.SelectedRows.Count; i++) { Form f = new FrmEnregistrerVersement ( guna2DataGridViewVersement.SelectedRows[i].DataBoundItem as Caisse, loadData ); f.ShowDialog(); } } }
private void guna2GradientBtnNouveau_Click(object sender, EventArgs e) { Form f = new FrmEnregistrerVersement(loadData); f.Show(); }