Exception:VisualTarget 的根 Visual 不能具有父级。

报错信息 1
ArgumentException
   在 System.Windows.Media.CompositionTarget.SetRootVisual(Visual visual)
   在 System.Windows.Media.CompositionTarget.set_RootVisual(Visual value)
   在 System.Windows.Interop.HwndTarget.set_RootVisual(Visual value)
   在 System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
   在 System.Windows.Window.SetRootVisual()
   在 System.Windows.Window.SetRootVisualAndUpdateSTC()
   在 System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
   在 System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   在 System.Windows.Window.ShowHelper(Object booleanBox)
   在 ToastNotifications.Display.NotificationsDisplaySupervisor.InternalDisplayNotification(INotification notification)
   在 System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
   在 System.Windows.Threading.Dispatcher.Invoke(Action callback)
   在 ToastNotifications.Display.NotificationsDisplaySupervisor.DisplayNotification(INotification notification)
   在 ToastNotifications.Lifetime.TimeAndCountBasedLifetimeSupervisor.PushNotification(INotification notification)
   在 Quicker.Utilities.AppHelper.ShowInformation(String message, Boolean showPopup, Action callback)
   在 Quicker.App.<StartupApplicationAsync>d__12.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.App.<ApplicationStart>d__10.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)
版本:1.38.31 2024-03-25 20:44 Microsoft Windows NT 10.0.22631.0