/// <summary> /// helper to fire the InPreview event /// </summary> private void ImageIsInPreview() { if (this.InvokeRequired) { SetInPreviewCallback d = new SetInPreviewCallback(ImageIsInPreview); this.Invoke(d, null); } else { addLog("ImageIsInPreview"); CameraPreview.Update(); OnInPreview(new EventArgs()); } }
private void ImageIsInPreview() { if (this.InvokeRequired) { SetInPreviewCallback d = new SetInPreviewCallback(ImageIsInPreview); this.Invoke(d, null); } else { addLog("ImageIsInPreview"); ImagerPreview.Update(); OnInPreview(new EventArgs()); } }