private void DataHandler(object sender, CameraEventArgs e) { cameraBox.Image = e.LastData.ToBitmap(); }
void thread_DataCaptured(object sender, CameraEventArgs e) { DataHandler(sender, e); }