when deleting files one by one error is generated as \"the process cannot access the file \' because it is being used by another process when trying to delete file\"
cod
pb.Image.Dispose(); pb.Dispose();
After steps above, tou can use picture again