Exemple #1
0
 private void dividentsWindow_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.dividentsWindow = null;
 }
Exemple #2
0
 private void dividentsToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (this.dividentsWindow == null)
     {
         this.dividentsWindow = new DividentsWindow();
         this.dividentsWindow.MdiParent = this;
         this.dividentsWindow.FormClosed += new FormClosedEventHandler(this.dividentsWindow_FormClosed);
         this.dividentsWindow.Show();
     }
     else
     {
         this.dividentsWindow.Activate();
     }
 }