Пример #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 camara1ToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (fc1 == null)
     {
         fc1             = new fCam1();
         fc1.MdiParent   = this;
         fc1.FormClosed += new FormClosedEventHandler(CloseForm);
         fc1.Show();
     }
     else
     {
         fc1.Activate();
     }
 }