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