Example #1
0
        private void buttonSupprimerREve_Click(object sender, EventArgs e)
        {
            DlgRapportEvenement d = new DlgRapportEvenement(TypeDeSaisie.Suppression, m_dossier.RapportEvenement);

            if (d.ShowDialog() == DialogResult.OK)
            {
                m_dossier.SetRapportEvenement(null);
                MAJRapportEvenement();
            }
        }
Example #2
0
        private void buttonModifierREve_Click(object sender, EventArgs e)
        {
            DlgRapportEvenement d = new DlgRapportEvenement(TypeDeSaisie.Modification, m_dossier.RapportEvenement);

            if (d.ShowDialog() == DialogResult.OK)
            {
                m_dossier.SetRapportEvenement(d.Extraire());
                MAJRapportEvenement();
            }
        }
Example #3
0
        private void buttonAjouterREve_Click(object sender, EventArgs e)
        {
            DlgRapportEvenement d = new DlgRapportEvenement();

            if (d.ShowDialog() == DialogResult.OK)
            {
                m_dossier.SetRapportEvenement(d.Extraire());
                MAJRapportEvenement();
            }
        }