private void crearToolStripMenuItem_Click(object sender, EventArgs e) { if (crear == null) { crear = new Crear(); crear.MdiParent = this; crear.FormClosed += new FormClosedEventHandler(Crear_FormClosed); crear.Show(); lblLogo.Visible = false; picLogo.Visible = false; } else { crear.Activate(); lblLogo.Visible = false; picLogo.Visible = false; } }
void Crear_FormClosed(object sender, EventArgs e) { crear = null; lblLogo.Visible = true; picLogo.Visible = true; }