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