KeyNotFoundException: 给定关键字不在字典中。 StackTrace: 在 System.ThrowHelper.ThrowKeyNotFoundException() 在 System.Collections.Generic.Dictionary`2.get_Item(TKey key) 在 QuickerInputAndOutputWpf.MainWindow.<>c__DisplayClass7_1.<GetTextChangeFuncInForm>b__3() 位置 E:\04ProgramFile\Program\CSharp\QuickerInputAndOutputWpf\MainWindow.xaml.cs:行号 185 在 System.Windows.Threading.DispatcherOperation.InvokeDelegateCore() 在 System.Windows.Threading.DispatcherOperation.InvokeImpl() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 QuickerInputAndOutputWpf.MainWindow.<>c__DisplayClass7_0.<<GetTextChangeFuncInForm>b__1>d.MoveNext() 位置 E:\04ProgramFile\Program\CSharp\QuickerInputAndOutputWpf\MainWindow.xaml.cs:行号 183 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() 在 System.Threading.ThreadPoolWorkQueue.Dispatch()