示例#1
0
文件: UtilityForm.cs 项目: gvhung/dp2
 private void button_webCamera_stop_Click(object sender, EventArgs e)
 {
     if (m_webCamera != null)
     {
         m_webCamera.CloseWebcam();
         m_webCamera = null;
         //m_bStopCamera = true;
         this.button_webCamera_stop.Enabled            = false;
         this.button_webCamera_start.Enabled           = true;
         this.button_webCamera_copyToClipboard.Enabled = false;
     }
 }
示例#2
0
 private void b_stop_Click(object sender, System.EventArgs e)
 {
     b_play.Enabled = true;
     b_stop.Enabled = false;
     wc.CloseWebcam();
 }