Exemple #1
0
 private void ouvrirToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (xs == null)
     {
         xs             = new ouvrirQuestionnaire(this);
         xs.MdiParent   = this;
         xs.FormClosed += new FormClosedEventHandler(xs_FormClosed);
         xs.Show();
     }
     else
     {
         xs.Activate();
     }
 }
Exemple #2
0
 private void xs_FormClosed(object sender, FormClosedEventArgs e)
 {
     xs = null;
 }