private void btn_save_Click(object sender, EventArgs e) { Recopie(); if (current.Control()) { if (!current.Update) { Articles f = ArticlesBLL.Save(current); if (f != null ? f.Id > 0 : false) { current.Id = f.Id; current.Update = true; AddRow(f); Messages.Succes(); } } else { if (ArticlesBLL.Update(current)) { UpdateRow(current); Messages.Succes(); } } Reset(); } }