feat:细节调整

master
sunhonglei 7 months ago
parent 6ed3334760
commit 83f2372d74
  1. 2
      ViewModel/Grading/GradingResultVM.cs
  2. 6
      Views/Grading/GradingResult.xaml

@ -112,7 +112,7 @@ public class GradingResultVM : BaseViewModel
totalCutGrade = 0; totalCutGrade = 0;
totalSymGrade = 0; totalSymGrade = 0;
Standard = result.Standard; Standard = result.Standard;
Shape = result.Shape; Shape = GetName(result.Shape);
CrownType = result.CrownType; CrownType = result.CrownType;
PavType = result.PavType; PavType = result.PavType;
DiamondCode = result.DiamondCode; DiamondCode = result.DiamondCode;

@ -22,7 +22,7 @@
<RowDefinition Height="*"></RowDefinition> <RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions> </Grid.RowDefinitions>
<Border Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Background="White" Height="50"> <Border Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Background="White" Height="70">
<Grid> <Grid>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" /> <ColumnDefinition Width="1*" />
@ -32,8 +32,8 @@
<ColumnDefinition Width="2*" /> <ColumnDefinition Width="2*" />
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="25"></RowDefinition> <RowDefinition Height="1*"></RowDefinition>
<RowDefinition Height="25"></RowDefinition> <RowDefinition Height="1*"></RowDefinition>
</Grid.RowDefinitions> </Grid.RowDefinitions>
<Button Content="{DynamicResource SaveAs}" Foreground="#ffffff" Background="#A7896F" Width="70" Command="{Binding SaveFileCommand}"/> <Button Content="{DynamicResource SaveAs}" Foreground="#ffffff" Background="#A7896F" Width="70" Command="{Binding SaveFileCommand}"/>
<Button Grid.Column="1" Content="{DynamicResource Export}" Foreground="#ffffff" Background="#A7896F" Width="70" Command="{Binding SaveAsCommand}"/> <Button Grid.Column="1" Content="{DynamicResource Export}" Foreground="#ffffff" Background="#A7896F" Width="70" Command="{Binding SaveAsCommand}"/>

Loading…
Cancel
Save