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

报错信息

ArgumentException
   在 System.Windows.Rect..ctor(Double x, Double y, Double width, Double height)
   在 System.Windows.Window.GetNormalRectDeviceUnits(IntPtr hwndHandle)
   在 System.Windows.Window.GetNormalRectLogicalUnits(IntPtr hwndHandle)
   在 System.Windows.Window.UpdateDimensionsToRestoreBounds()
   在 System.Windows.Window.WmSizeChanged(IntPtr wParam)
   在 System.Windows.Window.WindowFilterMessage(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) 

解决方法

暂无解决方案。

相关信息
0 查看
2024-01-26 08:11
Quicker版本
版本 反馈次数