private void jenzaBankToolStripMenuItem_Click(object sender, EventArgs e) { if (anali == null) { anali = new Acerca(); anali.MdiParent = this; anali.FormClosed += new FormClosedEventHandler(anali_FormClosed); anali.Show(); lblLogo.Visible = false; picLogo.Visible = false; } else { anali.Activate(); lblLogo.Visible = false; picLogo.Visible = false; } }
void anali_FormClosed(object sender, EventArgs e) { anali = null; lblLogo.Visible = true; picLogo.Visible = true; }