Ejemplo n.º 1
0
 private void bloodBankToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (mnForm == null)
     {
         mnForm             = new ManageBloodForm();
         mnForm.FormClosed += new FormClosedEventHandler(ManageBloodForm_FormClosed);
         mnForm.MdiParent   = this;
         mnForm.Show();
     }
     else
     {
         mnForm.Activate();
     }
 }
Ejemplo n.º 2
0
 private void ManageBloodForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     mnForm = null;
 }