private void SetPicture(Image image) { if (pictureBox.InvokeRequired) { SetPictureDelegate d = new SetPictureDelegate(SetPicture); this.Invoke(d, image); } else { pictureBox.Image = image; } }