Win32Exception: 无效的窗口句柄。 --NativeErrorCode: 1400 StackTrace: 在 Standard.NativeMethods.GetWindowPlacement(IntPtr hwnd) 在 System.Windows.Shell.WindowChromeWorker._GetHwndState() 在 System.Windows.Shell.WindowChromeWorker._UpdateSystemMenu(Nullable`1 assumeState) 在 System.Windows.Shell.WindowChromeWorker._HandleWindowPosChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 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)
Win32Exception: 无效的窗口句柄。 --NativeErrorCode: 1400 StackTrace: 在 MS.Win32.HwndWrapper.DestroyWindow(Object args) 在 MS.Win32.HwndWrapper.Dispose(Boolean disposing, Boolean isHwndBeingDestroyed) 在 MS.Win32.HwndWrapper.Dispose() 在 System.Windows.Interop.HwndSource.Dispose(Boolean disposing) 在 System.Windows.Interop.HwndSource.WeakEventDispatcherShutdown.OnShutdownFinished(Object sender, EventArgs e) 在 System.EventHandler.Invoke(Object sender, EventArgs e) 在 System.Windows.Threading.Dispatcher.ShutdownImplInSecurityContext(Object state) 在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) 在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) 在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) 在 System.Windows.Threading.Dispatcher.ShutdownImpl() 在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) 在 System.Windows.Application.RunDispatcher(Object ignore) 在 System.Windows.Application.RunInternal(Window window) 在 Quicker.App.Main()
Win32Exception: 无效的窗口句柄。 --NativeErrorCode: 1400 StackTrace: 在 System.Windows.Forms.SendKeys.SendInput(Byte[] oldKeyboardState, Queue previousEvents) 在 System.Windows.Forms.SendKeys.Send(String keys, Control control, Boolean wait) 在 Cea.Utils.ClipboardHelper.<SendCtrlV>d__2.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 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)