示例#1
0
 private void edgarWindow_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.edgarWindow = null;
 }
示例#2
0
 private void edgarToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (this.edgarWindow == null)
     {
         this.edgarWindow = new EdgarWindow();
         this.edgarWindow.MdiParent = this;
         this.edgarWindow.FormClosed += new FormClosedEventHandler(this.edgarWindow_FormClosed);
         this.edgarWindow.Show();
     }
     else
     {
         this.edgarWindow.Activate();
     }
 }