private void buttonSupprimerRAcc_Click(object sender, EventArgs e) { DlgRapportAccident d = new DlgRapportAccident(m_dossier.Vehicules, TypeDeSaisie.Suppression, m_dossier.RapportAccident); if (d.ShowDialog() == DialogResult.OK) { m_dossier.SetRapportAccident(null); MAJRapportAccident(); } }
private void buttonModifierRAcc_Click(object sender, EventArgs e) { DlgRapportAccident d = new DlgRapportAccident(m_dossier.Vehicules, TypeDeSaisie.Modification, m_dossier.RapportAccident); if (d.ShowDialog() == DialogResult.OK) { m_dossier.SetRapportAccident(d.Extraire()); MAJRapportAccident(); } }
private void buttonAjouterRAcc_Click(object sender, EventArgs e) { DlgRapportAccident d = new DlgRapportAccident(m_dossier.Vehicules); if (d.ShowDialog() == DialogResult.OK) { m_dossier.SetRapportAccident(d.Extraire()); MAJRapportAccident(); } }