private void buttonDestination_Click(object sender, EventArgs e) { DlgDestination d = new DlgDestination(TypeDeSaisie.Modification, m_dossier.Destination); if (d.ShowDialog() == DialogResult.OK) { m_dossier.SetDestination(d.Extraire()); MAJDestination(); InitialiserComboBoxStatutDossier(); } }
private void buttonAjouterDest_Click(object sender, EventArgs e) { DlgDestination d = new DlgDestination(TypeDeSaisie.Ajout, null); if (d.ShowDialog() == DialogResult.OK) { m_dossier.SetDestination(d.Extraire()); buttonAjouterDest.Enabled = false; buttonRetirerDest.Enabled = true; buttonModifDest.Enabled = true; MAJDestination(); InitialiserComboBoxStatutDossier(); } }