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