- 积分
- 416
- 威望
- 0
- 魅力
- 0
- 经验
- 396
- 热心度
- 0
- 注册时间
- 2021-2-6
- 最后登录
- 2024-10-1
- 主题
- 0
- 回帖
- 7
- 精华
- 0
- 阅读权限
- 20
TA的每日心情 | 开心 2024-9-30 20:46 |
---|
签到天数: 25 天 连续签到: 1 天 [LV.4]狂狼人
2级 Adventuring Hero
- 积分
- 416
|
发表于 2024-9-30 21:36:42
|
显示全部楼层
这是我碰到的问题代码:
Time: 2024/9/30 21:35:50
Message: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
StackTrace: at System.Collections.Generic.List`1.get_Item(Int32 index)
at H3Trainer.MainWindow.NavigateTo(UIPage page) in D:\My Projects\H3Trainer\H3Trainer\MainWindow.xaml.cs:line 200
at H3Core.ViewModel.GameViewModel.CheckCommandExecute(GamerWrapper wrapper) in D:\My Projects\H3Trainer\H3Core\ViewModel\GameViewModel.cs:line 83
at CommunityToolkit.Mvvm.Input.RelayCommand`1.Execute(Object parameter)
at H3Trainer.MainWindow.Scan_Click(Object sender, RoutedEventArgs e) in D:\My Projects\H3Trainer\H3Trainer\MainWindow.xaml.cs:line 96
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) |
|