private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { if (frmAbout == null) { frmAbout = new FormUtilityAbout(); frmAbout.FormClosed += new FormClosedEventHandler(frmAbout_fromClosed); frmAbout.ShowDialog(); } else { frmAbout.Activate(); } }
void frmAbout_fromClosed(object sender, FormClosedEventArgs e) { frmAbout = null; }