InvalidOperationException: 此 Visual 未连接到 PresentationSource。 StackTrace: 在 System.Windows.Media.Visual.PointToScreen(Point point) 在 DynamicClass.FloatingBallWindow.GetSmartBallBufferRect() 在 DynamicClass.FloatingBallWindow.IsMouseNearBall() 在 DynamicClass.FloatingBallWindow.HideTimer_Tick(Object sender, EventArgs e) 在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused) 在 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)
InvalidOperationException: 此 Visual 未连接到 PresentationSource。 StackTrace: 在 System.Windows.Media.Visual.PointToScreen(Point point) 在 DynamicClass.FloatingBallWindow.GetSmartBallBufferRect() 在 DynamicClass.FloatingBallWindow.IsMouseNearBall() 在 DynamicClass.FloatingBallWindow.<OnWindowLoaded>b__13(Object s, EventArgs e) 在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused) 在 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)
InvalidOperationException: 此 Visual 未连接到 PresentationSource。 StackTrace: 在 System.Windows.Media.Visual.PointToScreen(Point point) 在 __ScriptExecution.__3zvaja47.PetWindow.<>c__DisplayClass24_1.<ShowFeedBubble>b__1(Object s, EventArgs e) 在 System.Windows.ContextLayoutManager.fireLayoutUpdateEvent() 在 System.Windows.ContextLayoutManager.UpdateLayout() 在 System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) 在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() 在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) 在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) 在 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)