ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。 参数名: index --Message: 索引超出范围。必须为非负值并小于集合大小。 参数名: index StackTrace: 在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) 在 System.Collections.Generic.List`1.get_Item(Int32 index) 在 DynamicClass.TimeWindowWrapper.TheWindow_Closing(Object sender, EventArgs e) 在 System.ComponentModel.CancelEventHandler.Invoke(Object sender, CancelEventArgs e) 在 System.Windows.Window.OnClosing(CancelEventArgs e) 在 System.Windows.Window.WmClose() 在 System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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)
ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。 参数名: index --Message: 索引超出范围。必须为非负值并小于集合大小。 参数名: index StackTrace: 在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) 在 System.Collections.ObjectModel.Collection`1.RemoveAt(Int32 index) 在 DynamicData.Binding.SortedObservableCollectionAdaptor`2.DoUpdate(ISortedChangeSet`2 updates, IObservableCollection`1 list) 在 DynamicData.Binding.SortedObservableCollectionAdaptor`2.Adapt(ISortedChangeSet`2 changes, IObservableCollection`1 collection) 在 DynamicData.ObservableCacheEx.<>c__DisplayClass33_0`2.<Bind>b__1(ISortedChangeSet`2 changes) 在 System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value) --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex) 在 System.Reactive.ObserverBase`1.OnError(Exception error) 在 System.Reactive.AutoDetachObserver`1.OnErrorCore(Exception exception) 在 System.Reactive.ObserverBase`1.OnError(Exception error) 在 System.Reactive.Sink`1.ForwardOnError(Exception error) 在 System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value) 在 System.Reactive.Concurrency.Synchronize`1._.OnNext(TSource value) 在 System.Reactive.AutoDetachObserver`1.OnNextCore(T value) 在 System.Reactive.ObserverBase`1.OnNext(T value) 在 System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value) 在 System.Reactive.Linq.ObservableImpl.Where`1.Predicate._.OnNext(TSource value) 在 System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value) 在 System.Reactive.AutoDetachObserver`1.OnNextCore(T value) 在 System.Reactive.ObserverBase`1.OnNext(T value) 在 System.Reactive.AutoDetachObserver`1.OnNextCore(T value) 在 System.Reactive.ObserverBase`1.OnNext(T value) 在 System.Reactive.Linq.ObservableImpl.Where`1.Predicate._.OnNext(TSource value) 在 System.Reactive.Subjects.Subject`1.OnNext(T value) 在 DynamicData.ObservableCache`2.InvokeNext(ChangeSet`2 changes) 在 DynamicData.ObservableCache`2.UpdateFromSource(Action`1 updateAction) 在 BetterClip.Service.Windows.ActiveWindowService.Update(IntPtr hWND) 在 BetterClip.Service.Windows.ActiveWindowService.Hook_ForegroundWindowChanged(Object sender, ForegroundWindowChangedEventArgs e) 在 BetterClip.Win32.ActiveWindowHook.WinEventProc(HWINEVENTHOOK hWinEventHook, UInt32 event, HWND hwnd, Int32 idObject, Int32 idChild, UInt32 idEventThread, UInt32 dwmsEventTime)
ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。 参数名: index --Message: 索引超出范围。必须为非负值并小于集合大小。 参数名: index StackTrace: 在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) 在 System.Collections.Generic.List`1.get_Item(Int32 index) 在 System.Collections.ObjectModel.Collection`1.System.Collections.IList.get_Item(Int32 index) 在 Heku.HekuTimePicker.ScrollIntoView() 在 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)
ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。 参数名: index --Message: 索引超出范围。必须为非负值并小于集合大小。 参数名: index StackTrace: 在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) 在 System.Collections.Generic.List`1.get_Item(Int32 index) 在 DynamicClass.<MouseHook_MouseUp>d__b.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 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)