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