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) 在 IntelliTools.Domain.Manager.ClipWindowManager.<>c__DisplayClass10_0.<ShowWindow>b__0() 在 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)
ArgumentException: 宽度和高度必须为非负值。 --Message: 宽度和高度必须为非负值。 StackTrace: 在 System.Windows.Rect..ctor(Double x, Double y, Double width, Double height) 在 System.Windows.Controls.TextBoxView.System.Windows.Documents.ITextView.GetTightBoundingGeometryFromTextPositions(ITextPointer startPosition, ITextPointer endPosition) 在 System.Windows.Documents.CaretElement.UpdateSelection() 在 System.Windows.Documents.TextSelection.UpdateCaretStateWorker(Object o) 在 System.Windows.Documents.TextRangeBase.EndChange(ITextRange thisRange, Boolean disableScroll, Boolean skipEvents) 在 System.Windows.Documents.TextEditorMouse.OnMouseDown(Object sender, MouseButtonEventArgs e) 在 System.Windows.Controls.Primitives.TextBoxBase.OnMouseDown(MouseButtonEventArgs e) 在 System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.InputFilterMessage(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)
ArgumentException: 宽度和高度必须为非负值。 --Message: 宽度和高度必须为非负值。 StackTrace: 在 System.Windows.Rect..ctor(Double x, Double y, Double width, Double height) 在 ICSharpCode.AvalonEdit.Editing.Caret.CalcCaretRectangle(VisualLine visualLine) 在 ICSharpCode.AvalonEdit.Editing.Caret.ShowInternal() 在 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)