Beispiel #1
0
 private void mascotasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (abmMascota == null)
     {
         abmMascota             = new frmMascota();
         abmMascota.MdiParent   = this;
         abmMascota.FormClosed += new FormClosedEventHandler(abmMascota_FormClosed);
         abmMascota.Show();
     }
     else
     {
         abmMascota.Activate();
     }
 }
Beispiel #2
0
 void abmMascota_FormClosed(object sender, FormClosedEventArgs e)
 {
     abmMascota = null;
 }