private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { if (_aboutDialog == null) { _aboutDialog = new AboutBox(); _aboutDialog.FormClosed += new FormClosedEventHandler(_aboutDialog_FormClosed); _aboutDialog.Show(this); } _aboutDialog.BringToFront(); }
private void _aboutDialog_FormClosed(object sender, FormClosedEventArgs e) { _aboutDialog = null; }