Example #1
0
 private void productosToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (abmProd == null)
     {
         abmProd             = new frmProducto();
         abmProd.MdiParent   = this;
         abmProd.FormClosed += new FormClosedEventHandler(abmProd_FormClosed);
         abmProd.Show();
     }
     else
     {
         abmProd.Activate();
     }
 }
Example #2
0
 void abmProd_FormClosed(object sender, FormClosedEventArgs e)
 {
     abmProd = null;
 }