private void BTN_Nouveau_Click(object sender, EventArgs e) { Form newCar = new FEN_Car(modeOuverture.CREATION); newCar.ShowDialog(); this.chargerTable(); }
private void TABLE_Cars_CellContentClick(object sender, DataGridViewCellEventArgs e) { int id; id = (int)TABLE_Cars.CurrentRow.Cells[0].Value; Form newCar = new FEN_Car(modeOuverture.MODIFICATION, id); newCar.ShowDialog(); this.miseAJourLigneEnCours(); }