private void pictureBox2_Click(object sender, EventArgs e) { MenuToolBox.Visible = true; // Label Table Text LabelTableText.Visible = true; LabelTableText.BringToFront(); // Arrow ArrowClose.Visible = true; ArrowClose.BringToFront(); // Icon 1 IconTable0Current.Visible = true; LabelTeachers.Visible = true; IconTable0Current.BringToFront(); LabelTeachers.BringToFront(); // Icon 2 IconTable1.Visible = true; LabelCKonissiya.Visible = true; IconTable1.BringToFront(); LabelCKonissiya.BringToFront(); // Icon 3 IconTable2.Visible = true; LabelMetObesp.Visible = true; IconTable2.BringToFront(); LabelMetObesp.BringToFront(); // Icon 4 IconTable3.Visible = true; LabelMetObespType.Visible = true; IconTable3.BringToFront(); LabelMetObespType.BringToFront(); // Icon 5 IconTable4.Visible = true; LabelSertifictati.Visible = true; IconTable4.BringToFront(); LabelSertifictati.BringToFront(); // Icon 6 IconTable5.Visible = true; LabelPubAndKonf.Visible = true; IconTable5.BringToFront(); LabelPubAndKonf.BringToFront(); // Icon 7 IconTable6.Visible = true; LabelPovKval.Visible = true; IconTable6.BringToFront(); LabelPovKval.BringToFront(); // Label app Name LabelAppName.Visible = true; LabelAppName.BringToFront(); // Label version LabelAppVersion.Visible = true; LabelAppVersion.BringToFront(); }
void ReleaseDesignerOutlets() { if (LabelAppName != null) { LabelAppName.Dispose(); LabelAppName = null; } if (LabelAppVersion != null) { LabelAppVersion.Dispose(); LabelAppVersion = null; } if (LabelAuthor != null) { LabelAuthor.Dispose(); LabelAuthor = null; } if (LabelBlog != null) { LabelBlog.Dispose(); LabelBlog = null; } if (LinkBlog != null) { LinkBlog.Dispose(); LinkBlog = null; } if (LabelLinkedin != null) { LabelLinkedin.Dispose(); LabelLinkedin = null; } if (LinkLinkedin != null) { LinkLinkedin.Dispose(); LinkLinkedin = null; } if (LabelTwitter != null) { LabelTwitter.Dispose(); LabelTwitter = null; } if (LinkTwitter != null) { LinkTwitter.Dispose(); LinkTwitter = null; } if (LabelPoweredBy != null) { LabelPoweredBy.Dispose(); LabelPoweredBy = null; } if (LinkPoweredBy != null) { LinkPoweredBy.Dispose(); LinkPoweredBy = null; } if (LinkGitHub != null) { LinkGitHub.Dispose(); LinkGitHub = null; } if (LinkPrivacy != null) { LinkPrivacy.Dispose(); LinkPrivacy = null; } }