示例#1
0
 void CloseForm(object sender, FormClosedEventArgs e)
 {
     formrov = null;
     fc1     = null;
     fc2     = null;
     fc3     = null;
     fcs1    = null;
     fcs2    = null;
     fcs3    = null;
 }
示例#2
0
 private void cámara2ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (fc2 == null)
     {
         fc2             = new fCam2();
         fc2.MdiParent   = this;
         fc2.FormClosed += new FormClosedEventHandler(CloseForm);
         fc2.Show();
     }
     else
     {
         fc2.Activate();
     }
 }