COMException: 事件無法啟動任何訂閱者 (Exception from HRESULT: 0x80040201) StackTrace: 於 MS.Win32.UnsafeNativeMethods.ITextStoreACPSink.OnSelectionChange() 於 System.Windows.Documents.TextStore.OnSelectionChanged() 於 System.Windows.Documents.TextSelection.System.Windows.Documents.ITextRange.NotifyChanged(Boolean disableScroll, Boolean skipEvents) 於 System.Windows.Documents.TextRangeBase.EndChange(ITextRange thisRange, Boolean disableScroll, Boolean skipEvents) 於 System.Windows.Documents.TextRange.ChangeBlock.System.IDisposable.Dispose() 於 System.Windows.Documents.TextEditorTyping.DoTextInput(TextEditor This, String textData, Boolean isInsertKeyToggled, Boolean acceptControlCharacters) 於 System.Windows.Documents.TextEditorTyping.OnTextInput(Object sender, TextCompositionEventArgs e) 於 System.Windows.Controls.Primitives.TextBoxBase.OnTextInput(TextCompositionEventArgs e) 於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 於 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 於 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 於 System.Windows.Input.InputManager.ProcessStagingArea() 於 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 於 System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e) 於 System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) 於 System.Windows.Input.InputManager.ProcessStagingArea() 於 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 於 System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e) 於 System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) 於 System.Windows.Input.InputManager.ProcessStagingArea() 於 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 於 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 於 System.Windows.Interop.HwndKeyboardInputProvider.ProcessTextInputAction(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 於 System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param) 於 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)