IOException was unhandled
问题 i have a application which crops an image and save it the process was to load an image, crop it, delete the original image(so i can replace it) and, save it. this is my code: private void DetectSize(object sender, EventArgs e) { int x = 1; Bitmap TempImage = new Bitmap(@cwd + "\\t" + (x + 1) + ".jpg", true); pictureBox.Image = (Image)TempImage.Clone(); TempImage.Dispose(); Bitmap imgPart = new Bitmap(pictureBox.Image); int imgHeight = imgPart.Height; int imgWidth = imgPart.Width; HalfWidth =