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; } }
private void b_stop_Click(object sender, System.EventArgs e) { b_play.Enabled = true; b_stop.Enabled = false; wc.CloseWebcam(); }