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