예제 #1
0
 private void ourViewWindow_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.ourViewWindow = null;
 }
예제 #2
0
 private void ourViewToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (this.ourViewWindow == null)
     {
         this.ourViewWindow = new OurViewWindow();
         this.ourViewWindow.MdiParent = this;
         this.ourViewWindow.FormClosed += new FormClosedEventHandler(this.ourViewWindow_FormClosed);
         this.ourViewWindow.Show();
     }
     else
     {
         this.ourViewWindow.Activate();
     }
 }