示例#1
0
 private void serviciosToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (servicios == null)
     {
         servicios             = new frmAgregarServicios();
         servicios.MdiParent   = this.MdiParent;
         servicios.FormClosed += new FormClosedEventHandler(ServiciosFormClosed);
         servicios.Show();
     }
 }
示例#2
0
 private void ServiciosFormClosed(object sender, EventArgs e)
 {
     servicios = null;
 }