void doShowAbout() { if (aboutBoxWindow == null) { aboutBoxWindow = new formAboutBox(); aboutBoxWindow.FormClosed += delegate(object sender, FormClosedEventArgs e) { aboutBoxWindow = null; }; } aboutBoxWindow.Show(); }