예제 #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();
            }
        }
예제 #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();
            }
        }
예제 #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();
            }
        }