Example #1
0
 private void toolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (this.selectEventByCategoryForm == null)
     {
         this.selectEventByCategoryForm             = new SelectEventByCategoryForm();
         this.selectEventByCategoryForm.MdiParent   = this;
         this.selectEventByCategoryForm.FormClosed += new FormClosedEventHandler(this.selectEventsByCategory_FormClosed);
         this.selectEventByCategoryForm.Show();
     }
     else
     {
         this.selectEventByCategoryForm.Activate();
     }
 }
Example #2
0
 private void selectEventsByCategory_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.selectEventByCategoryForm = null;
 }
Example #3
0
 private void toolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (this.selectEventByCategoryForm == null)
     {
         this.selectEventByCategoryForm = new SelectEventByCategoryForm();
         this.selectEventByCategoryForm.MdiParent = this;
         this.selectEventByCategoryForm.FormClosed += new FormClosedEventHandler(this.selectEventsByCategory_FormClosed);
         this.selectEventByCategoryForm.Show();
     }
     else
     {
         this.selectEventByCategoryForm.Activate();
     }
 }
Example #4
0
 private void selectEventsByCategory_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.selectEventByCategoryForm = null;
 }