private void eliminarToolStripMenuItem_Click(object sender, EventArgs e) { if (ver == null) { ver = new Borrar(); ver.MdiParent = this; ver.FormClosed += new FormClosedEventHandler(ver_FormClosed); ver.Show(); lblLogo.Visible = false; picLogo.Visible = false; } else { ver.Activate(); lblLogo.Visible = false; picLogo.Visible = false; } }
void ver_FormClosed(object sender, EventArgs e) { ver = null; lblLogo.Visible = true; picLogo.Visible = true; }