feat: ROU成型参数替换功能 — 支持 .rou/.rou1/.rou2/.roux 文件从参数 txt 自动补充 S/F/R/Z/H

This commit is contained in:
2026-08-03 18:19:33 +08:00
parent b51a5cecf8
commit 5c9a70c9f0
8 changed files with 409 additions and 51 deletions

View File

@@ -0,0 +1,32 @@
<Window x:Class="DrillTools.ParameterFileSelectionWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="选择参数文件"
Width="420"
SizeToContent="Height"
ResizeMode="NoResize"
Topmost="True"
WindowStartupLocation="CenterScreen">
<Grid Margin="15">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Text="请选择要使用的参数文件:" Margin="0,0,0,10" />
<ListBox Grid.Row="1"
Name="FileListBox"
Height="200"
Margin="0,0,0,15"
DisplayMemberPath="Name" />
<StackPanel Grid.Row="2" HorizontalAlignment="Center" Orientation="Horizontal">
<Button Name="OkButton" Width="80" Height="28" Content="确定" Margin="0,0,15,0"
Click="OkButton_Click" IsDefault="True" />
<Button Name="CancelButton" Width="80" Height="28" Content="取消"
Click="CancelButton_Click" IsCancel="True" />
</StackPanel>
</Grid>
</Window>