private void retirarToolStripMenuItem_Click(object sender, EventArgs e) { if (retirar == null) { retirar = new VntRetirar(); retirar.MdiParent = this; retirar.FormClosed += new FormClosedEventHandler(retirar_FormClosed); retirar.Show(); lblLogo.Visible = false; picLogo.Visible = false; } else { retirar.Activate(); lblLogo.Visible = false; picLogo.Visible = false; } }
void retirar_FormClosed(object sender, EventArgs e) { retirar = null; lblLogo.Visible = true; picLogo.Visible = true; }