Example #1
0
        private void buttonSupprimerREnq_Click(object sender, EventArgs e)
        {
            DlgRapportEnquete d = new DlgRapportEnquete(TypeDeSaisie.Suppression, m_dossier.RapportEnquete);

            if (d.ShowDialog() == DialogResult.OK)
            {
                m_dossier.SetRapportEnquete(null);
                MAJRapportEnquete();
            }
        }
Example #2
0
        private void buttonModifierREnq_Click(object sender, EventArgs e)
        {
            DlgRapportEnquete d = new DlgRapportEnquete(TypeDeSaisie.Modification, m_dossier.RapportEnquete);

            if (d.ShowDialog() == DialogResult.OK)
            {
                m_dossier.SetRapportEnquete(d.Extraire());
                MAJRapportEnquete();
            }
        }
Example #3
0
        private void buttonAjouterREnq_Click(object sender, EventArgs e)
        {
            DlgRapportEnquete d = new DlgRapportEnquete();

            if (d.ShowDialog() == DialogResult.OK)
            {
                m_dossier.SetRapportEnquete(d.Extraire());
                MAJRapportEnquete();
            }
        }