feat: 统一项目命名并补充路径失效报告

将内部项目目录、命名空间、配置目录、自启注册表值和设计/开发文档统一为 PersonalToolbox。

扩展路径校验服务,输出失效工具、字段、原因和路径,并在启动日志、设置页路径检查与导入配置流程中展示明细报告。

验证:dotnet build PersonalToolbox.sln
This commit is contained in:
2026-05-27 14:20:19 +08:00
parent dfc306818a
commit 26a22eef1c
32 changed files with 236 additions and 150 deletions

View File

@@ -0,0 +1,45 @@
<Window x:Class="PersonalToolbox.Views.PromptWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="输入"
Width="380"
Height="180"
ResizeMode="NoResize"
WindowStartupLocation="CenterOwner">
<Grid Margin="18">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock x:Name="PromptText"
FontSize="14"
TextWrapping="Wrap"
ToolTip="当前需要输入的信息名称。" />
<TextBox x:Name="ValueTextBox"
Grid.Row="1"
Margin="0,12,0,0"
MinHeight="32"
ToolTip="请输入名称,按 Enter 确认。"
KeyDown="ValueTextBox_OnKeyDown" />
<StackPanel Grid.Row="3"
Orientation="Horizontal"
HorizontalAlignment="Right">
<Button Content="确定"
Width="82"
Margin="0,0,8,0"
IsDefault="True"
ToolTip="保存输入内容并关闭窗口。"
Click="OkButton_OnClick" />
<Button Content="取消"
Width="82"
IsCancel="True"
ToolTip="放弃本次输入。"
Click="CancelButton_OnClick" />
</StackPanel>
</Grid>
</Window>