Exception:宽度和高度必须为非负值。

报错信息 1
ArgumentException: 宽度和高度必须为非负值。
--Message: 宽度和高度必须为非负值。
StackTrace:
   在 System.Windows.Rect..ctor(Double x, Double y, Double width, Double height)
   在 Cea.Utils.RectangleExt.Plus(Rect rect, Double left, Double top, Double right, Double bottom)
   在 Cea.Utils.WindowHelper.MoveWindowToMouseBottomRight(IntPtr handle, Int32 offsetX, Int32 offsetY)
   在 Cea.Utils.WindowHelper.MoveWindow(IntPtr handle, WindowLocations location)
   在 Cea.Utils.WindowHelper.MoveWindow(Window win, WindowLocations location)
   在 IntelliTools.Domain.Manager.WindowManager.<>c__DisplayClass1_0.<DoActionOnLoaded>g__handler|0(Object sender, RoutedEventArgs e)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   在 System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   在 MS.Internal.LoadedOrUnloadedOperation.DoWork()
   在 System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   在 System.Windows.Interop.HwndTarget.OnResize()
   在 System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   在 System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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)

版本:1.44.22 2025-09-11 05:59 Microsoft Windows NT 10.0.19045.0