Example #1
0
        /// <summary>
        /// Affichage de la forme de Gestion des Relances des Vaccins + Ă©coute de la fermeture de cette fenĂȘtre
        /// </summary>
        private void AfficherRelanceVaccin(object sender, EventArgs e)
        {
            FormRelance_VaccinSelection frm;

            if (!relancesVaccinationToolStripMenuItem.Checked)
            {
                frm           = new FormRelance_VaccinSelection();
                frm.MdiParent = this;
                frm.Show();
                relancesVaccinationToolStripMenuItem.Checked = true;
                toolStripBt_Relance.Checked = true;
                frm.BringToFront();
                frm.FormClosed += FermetureFille;
            }
            else
            {
                frm = (FormRelance_VaccinSelection)Array.Find(this.MdiChildren, (Form f) => f.Name == "FormRelance_VaccinSelection");
                frm.BringToFront();
            }
        }
 public FormRelance_VaccinCourrier(FormRelance_VaccinSelection frm)
 {
     InitializeComponent();
     frmRelance = frm;
 }