From a3ba25607612818c28d421bfa8eb2f92339d71ac Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 13 三月 2025 20:30:48 +0800
Subject: [PATCH] 优化项目;
---
Plugin.TestResult/Scanner.xaml | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Plugin.TestResult/Scanner.xaml b/Plugin.TestResult/Scanner.xaml
index a8a13e6..02780f3 100644
--- a/Plugin.TestResult/Scanner.xaml
+++ b/Plugin.TestResult/Scanner.xaml
@@ -44,19 +44,19 @@
</Grid.RowDefinitions>
<Label Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" Padding="0"
- Content="{Binding Converter={StaticResource lc},ConverterParameter='Tr.PleaseScanSnr'}"
+ Content="{DynamicResource Tr.PleaseScanSnr}"
Margin="0,0,0,20"
/>
<StackPanel Grid.Row="1">
<pu:FormGroup
dp:FormGroupHelper.IsRequired="True"
- Header="{Binding Converter={StaticResource lc},ConverterParameter='Tr.PositionSnr'}">
+ Header="{DynamicResource Tr.PositionSnr}">
<TextBox Style="{StaticResource EditorTextBoxStyle}" x:Name="positionText" TextWrapping="NoWrap"/>
</pu:FormGroup>
<pu:FormGroup
dp:FormGroupHelper.IsRequired="True"
- Header="{Binding Converter={StaticResource lc},ConverterParameter='Tr.ProductSnr'}">
+ Header="{DynamicResource Tr.ProductSnr}">
<TextBox Style="{StaticResource EditorTextBoxStyle}" x:Name="snrText" TextWrapping="NoWrap"/>
</pu:FormGroup>
</StackPanel>
@@ -65,9 +65,9 @@
dp:StackPanelHelper.ChildSpace="50"
HorizontalAlignment="Center" Grid.Row="2">
<Button Click="Con_Click"
- Content="{Binding Converter={StaticResource lc},ConverterParameter='Tr.ContinueScan'}"/>
+ Content="{DynamicResource Tr.ContinueScan}"/>
<Button Click="Ok_Click"
- Content="{Binding Converter={StaticResource lc},ConverterParameter='Tr.FinishScan'}"/>
+ Content="{DynamicResource Tr.FinishScan}"/>
</StackPanel>
</Grid>
</pu:WindowX>
--
Gitblit v1.9.1