private void storyStocksWindow_FormClosed(object sender, FormClosedEventArgs e) { this.storyStocksWindow = null; }
private void storyStocksToolStripMenuItem1_Click(object sender, EventArgs e) { if (this.storyStocksWindow == null) { this.storyStocksWindow = new StoryStocksWindow(); this.storyStocksWindow.MdiParent = this; this.storyStocksWindow.FormClosed += new FormClosedEventHandler(this.storyStocksWindow_FormClosed); this.storyStocksWindow.Show(); } else { this.marketSnapshotWindow.Activate(); } }