private void Ajouter_Click(object sender, EventArgs e) { InfoFamille fa = new InfoFamille(); fa.ShowDialog(this); LoadData(); }
private void Modifier_Click(object sender, EventArgs e) { int index = c1TrueDBGrid1.Row; string Code = c1TrueDBGrid1.Columns["Code"].CellText(index); InfoFamille fa = new InfoFamille(Code); fa.ShowDialog(this); LoadData(); }