private void symbolShortInterestToolStripMenuItem_Click(object sender, EventArgs e) { if (this.shortInterestWindow == null) { this.shortInterestWindow = new ShortInterestWindow(); this.shortInterestWindow.MdiParent = this; this.shortInterestWindow.FormClosed += new FormClosedEventHandler(this.shortInterestWindow_FormClosed); this.shortInterestWindow.Show(); } else { this.shortInterestWindow.Activate(); } }
private void shortInterestWindow_FormClosed(object sender, FormClosedEventArgs e) { this.shortInterestWindow = null; }