public void camerDriver_Closed()
 {
     //退出
     try
     {
         video.CloseWebcam();
     }
     catch (System.Exception ex)
     {
         MessageBox.Show(ex.StackTrace + ex.Message);
     }
 }
示例#2
0
 private void button2_Click(object sender, System.EventArgs e)
 {
     video.CloseWebcam();
 }