private void ClearImage() { PictureBox.ImageLocation = ""; if (PictureBox.Image == null) return; PictureBox.Image.Dispose(); PictureBox.Image = null; }