WIn_RustTools/Editor
muqing 7deaa65c39 更新引用和事件处理,移除 ButtonViewModel 类
在 `EditorWin.xaml.cs` 中:
- 添加了 `System.Text.Encodings.Web` 和 `System.Text.Json` 的引用。
- 在 `TreeView_AddTabItem` 方法中,添加了对 `title` 为空的检查。
- 将 `UpdateUI` 事件替换为 `SavePointLeft` 事件。
- 将 `KeyDown` 事件替换为 `PreviewKeyDown` 事件。
- 添加了对 `Ctrl + Alt + L` 快捷键的处理,用于格式化 JSON 文本。

在 `RustTools.csproj` 中:
- 更新了多个包的版本,包括 `CommunityToolkit.Mvvm`、`Microsoft.Extensions.Hosting`、`Microsoft.WindowsAppSDK`、`System.Management` 和 `WinUIEx`。
- 移除了 `Microsoft.Windows.CsWinRT` 包的引用。
- 添加了 `CommunityToolkit.WinUI.Controls.Sizers` 包的引用。

在 `ButtonViewModel.cs` 中:
- 移除了 `ButtonViewModel` 类及其内容。

在 `RankingViewModel.cs` 中:
- 在 `RankingList` 为空时,添加了对 `modData` 和 `modData.Data` 为空的检查。
- 更新了 `item.Icon` 的替换逻辑。

在 `UserPage.xaml.cs` 中:
- 在用户登录逻辑中,添加了对 `userSpaceInfo` 为空的检查。
2025-01-24 20:01:29 +08:00
..
EditorLoad.cs 进行项目文件位置优化 2025-01-16 18:40:29 +08:00
EditorTreeView.cs 优化标签页管理和事件处理逻辑 2025-01-22 16:24:37 +08:00
EditorWin.xaml 重构 EditorTreeView 以使用 Microsoft.UI.Xaml.Controls 2025-01-21 19:26:04 +08:00
EditorWin.xaml.cs 更新引用和事件处理,移除 ButtonViewModel 类 2025-01-24 20:01:29 +08:00
ExplorerItemTemplateSelector.cs 进行项目文件位置优化 2025-01-16 18:40:29 +08:00
FileItem.cs 进行项目文件位置优化 2025-01-16 18:40:29 +08:00