Exemple #1
0
 private void CamStop()
 {
     WebCam.CloseVideoSource();
     label2.Text       = "Camera stopped.";
     start.Text        = "Start &Webcam";
     pictureBox1.Image = null;
 }
Exemple #2
0
 private void Main_Closing()
 {
     WebCam.CloseVideoSource();
 }
Exemple #3
0
 private void Main_FormClosing(object sender, FormClosingEventArgs e)
 {
     WebCam.CloseVideoSource();
 }