IOException: 另一个程序正在使用此文件,进程无法访问。 StackTrace: 在 Microsoft.VisualBasic.FileIO.FileSystem.ThrowWinIOError(Int32 errorCode) 在 Microsoft.VisualBasic.FileIO.FileSystem.ShellFileOperation(SHFileOperationType OperationType, ShFileOperationFlags OperationFlags, String FullSource, String FullTarget, UICancelOption OnUserCancel, FileOrDirectory FileOrDirectory) 在 Microsoft.VisualBasic.FileIO.FileSystem.ShellDelete(String FullPath, UIOptionInternal ShowUI, RecycleOption recycle, UICancelOption OnUserCancel, FileOrDirectory FileOrDirectory) 在 Microsoft.VisualBasic.FileIO.FileSystem.DeleteFileInternal(String file, UIOptionInternal showUI, RecycleOption recycle, UICancelOption onUserCancel) 在 IntelliTools.Util.FileUtils.MoveToRecycbin(String path) 在 IntelliTools.Domain.Menu.MenuItemWrapper.InternalClick(Object sender, RoutedEventArgs args) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)