private void edgarWindow_FormClosed(object sender, FormClosedEventArgs e) { this.edgarWindow = null; }
private void edgarToolStripMenuItem1_Click(object sender, EventArgs e) { if (this.edgarWindow == null) { this.edgarWindow = new EdgarWindow(); this.edgarWindow.MdiParent = this; this.edgarWindow.FormClosed += new FormClosedEventHandler(this.edgarWindow_FormClosed); this.edgarWindow.Show(); } else { this.edgarWindow.Activate(); } }