图片连续操作如左旋:其中有部分代码有逻辑问题: 
if (tempFile == "")
            {
                File.Copy(strPath1, strPath2, true);//文件“strPath2的路径”正由另一进程使用,因此该进程无法访问该文件。                
                tempFile = strFile2;
            }
如何改写消除错误?