private bool CameraStartGrabing(HKCameraBase cameraOperator) { if (!cameraOperator.IsGrabbing) { int nRet = cameraOperator.StartGrabImage(); System.Threading.Thread.Sleep(200); if (nRet != 0) { return(false); } } return(true); }
public HKCamera() { cameraOperator = new HKCameraBase(); cameraOperator.ImageReady += CameraOperator_ImageReady; }