摘要:
将图片文件加载到Picturebox中后若要删除或覆盖该图片文件也会出现上面异常提示 pictureBox1.Image = Image.FromFile(sFile);//用此种方式加载图片,关闭页面后该路径的文件可能会仍被线程占用,导致无法删除、覆盖 pictureBox1.ImageLocat 阅读全文
posted @ 2016-05-21 12:25 提着裤衩追 阅读(559) 评论(0) 推荐(0)
|
摘要:
将图片文件加载到Picturebox中后若要删除或覆盖该图片文件也会出现上面异常提示 pictureBox1.Image = Image.FromFile(sFile);//用此种方式加载图片,关闭页面后该路径的文件可能会仍被线程占用,导致无法删除、覆盖 pictureBox1.ImageLocat 阅读全文
posted @ 2016-05-21 12:25 提着裤衩追 阅读(559) 评论(0) 推荐(0) |
||