示例#1
0
 private void breakingNewsWindow_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.breakingNewsWindow = null;
 }
示例#2
0
 private void breakingNewsToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (this.breakingNewsWindow == null)
     {
         this.breakingNewsWindow = new BreakingNewsWindow();
         this.breakingNewsWindow.MdiParent = this;
         this.breakingNewsWindow.FormClosed += new FormClosedEventHandler(this.breakingNewsWindow_FormClosed);
         this.breakingNewsWindow.Show();
     }
     else
     {
         this.breakingNewsWindow.Activate();
     }
 }