ArgumentNullException: 值不能为 null。 参数名: window StackTrace: 在 System.Windows.Interop.WindowInteropHelper..ctor(Window window) 在 DynamicClass.cc.<初始化>b__a() 在 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)