private void gitHubToolStripMenuItem_Click(object sender, EventArgs e) { if (agh == null) { agh = new aboutGitHub(); agh.MdiParent = this; agh.FormClosed += agh_FormClosed; agh.Show(); } else { agh.Activate(); } }
void agh_FormClosed(object sender, FormClosedEventArgs e) { agh = null; //throw new NotImplementedException(); }