Esempio n. 1
0
 private void theStockMarketToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.stockMarketWindow == null)
     {
         this.stockMarketWindow = new StockMarketWindow();
         this.stockMarketWindow.MdiParent = this;
         this.stockMarketWindow.FormClosed += new FormClosedEventHandler(this.stockMarketWindow_FormClosed);
         this.stockMarketWindow.Show();
     }
     else
     {
         this.stockMarketWindow.Activate();
     }
 }
Esempio n. 2
0
 private void stockMarketWindow_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.stockMarketWindow = null;
 }