コード例 #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();
     }
 }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: team-hades/EventsSystem
 private void selectedEventForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.selectedEventForm = null;
 }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: team-hades/EventsSystem
 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();
     }
 }
コード例 #4
0
 private void selectedEventForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.selectedEventForm = null;
 }