private void usEquityWindow_FormClosed(object sender, FormClosedEventArgs e) { this.usEquityWindow = null; }
private void uSEquityToolStripMenuItem1_Click(object sender, EventArgs e) { if (this.usEquityWindow == null) { this.usEquityWindow = new UsEquityWindow(); this.usEquityWindow.MdiParent = this; this.usEquityWindow.FormClosed += new FormClosedEventHandler(this.usEquityWindow_FormClosed); this.usEquityWindow.Show(); } else { this.usEquityWindow.Activate(); } }