2011年7月21日

摘要: 1.文件正由另一进程使用,因此该进程无法访问该文件问题描述:this.pictureBox1.Image=Image.FormFile(sourceFile);...把sourceFile移动到另外一个文件夹if(this.pictureBox1.Image!=null){ this.picutreBox1.Image.Dispose();}File.Copy(sourceFile,destinatFile);File.Delete(sourceFile);结果时不时的在File.Delete(sourceFile);处抛出异常:文件正由另一进程使用,因此该进程无法访问该文件。把File.Co 阅读全文
posted @ 2011-07-21 13:41 注销账户 阅读(667) 评论(0) 推荐(0)

导航