Exemplo n.º 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();
     }
 }
Exemplo n.º 2
0
 private void selectEventsByCategory_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.selectEventByCategoryForm = null;
 }
Exemplo n.º 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();
     }
 }
Exemplo n.º 4
0
 private void selectEventsByCategory_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.selectEventByCategoryForm = null;
 }