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.TextEditorMouse.OnMouseDown(Object sender, MouseButtonEventArgs e) 於 System.Windows.Controls.Primitives.TextBoxBase.OnMouseDown(MouseButtonEventArgs e) 於 System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs 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.InputProviderSite.ReportInput(InputReport inputReport) 於 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 於 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 於 System.Windows.Interop.HwndSource.InputFilterMessage(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)