private void ClearPreview() { try { if (PreviewBox.InvokeRequired) this.Invoke(new Action(() => ClearPreview())); else if (PreviewBox.Image != null) PreviewBox.Image = null; } catch { } }