Example #1
0
 private void mostReadWindow_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.mostReadWindow = null;
 }
Example #2
0
 private void mostReadToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (this.mostReadWindow == null)
     {
         this.mostReadWindow = new MostReadWindow();
         this.mostReadWindow.MdiParent = this;
         this.mostReadWindow.FormClosed += new FormClosedEventHandler(this.mostReadWindow_FormClosed);
         this.mostReadWindow.Show();
     }
     else
     {
         this.mostReadWindow.Activate();
     }
 }