This commit is contained in:
xyy
2026-05-27 14:04:14 +08:00
parent 5bbbddf509
commit 8332fa0531
4 changed files with 187 additions and 89 deletions

View File

@@ -1,7 +1,7 @@
<Window x:Class="ASTM_D7896_Tester.Views.ConfigWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="高级参数配置" Height="300" Width="400"
Title="高级参数配置" Height="300" Width="450"
WindowStartupLocation="CenterOwner">
<Grid Margin="20">
<Grid.RowDefinitions>
@@ -37,7 +37,7 @@
</StackPanel>
<StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,20,0,0">
<Button Content="保存并关闭" Command="{Binding SaveAndCloseCommand}" CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=Window}}" Width="100" Margin="5"/>
<Button Content="保存并关闭" Command="{Binding SaveCommand}" CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=Window}}" Width="100" Margin="5"/>
<Button Content="取消" Click="CancelButton_Click" Width="100" Margin="5"/>
</StackPanel>
</Grid>