ArgumentNullException: 值不能为 null。 参数名: handler StackTrace: 在 System.Windows.UIElement.RemoveHandler(RoutedEvent routedEvent, Delegate handler) 在 DynamicClass.MainProgram.BindTimeoutTaskQueryButtons(Window win, IDictionary`2 dataContext) 在 DynamicClass.MainProgram.InitPhaseE_ConfigAndHistory(Window win, IDictionary`2 dataContext) 在 DynamicClass.MainProgram.InitPhaseD_EventHandlers(Window win, IDictionary`2 dataContext) 在 DynamicClass.MainProgram.InitPhaseC_PromptControls(Window win, IDictionary`2 dataContext) 在 DynamicClass.MainProgram.InitPhaseB_AIControls(Window win, IDictionary`2 dataContext) 在 DynamicClass.MainProgram.InitPhaseA_CoreButtons(Window win, IDictionary`2 dataContext) 在 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)