Exemple #1
0
        public void FormWebCamOpen()
        {
            if (FrmWebCam == null)
            {
                FrmWebCam = new FormWebCamm();
                FrmWebCam.Init(this);
                FrmWebCam.FormClosing += FrmWebCamClose;
            }

            FrmWebCam.Show();
            FrmWebCam.BringToFront();
        }
Exemple #2
0
 private void FrmWebCamClose(object sender, System.Windows.Forms.FormClosingEventArgs e)
 {
     //FrmWebCam.WebcamStop();
     FrmWebCam = null;
 }