ArgumentNullException: 值不能为 null。 参数名: window StackTrace: 在 System.Windows.Interop.WindowInteropHelper..ctor(Window window) 在 DynamicClass.各种功能的类.强制调整窗口为最顶层(Window window) 在 DynamicClass.MainWindow.<>c__DisplayClass75.<OnWindowLoaded>b__3b(Object sender, EventArgs e) 在 System.Windows.Window.OnLocationChanged(EventArgs e) 在 System.Windows.Window.WmMoveChangedHelper() 在 System.Windows.Window.WmMoveChanged() 在 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)