This commit is contained in:
xyy
2026-02-25 14:22:08 +08:00
parent 6d4de41763
commit d481a3d1b0
2 changed files with 11 additions and 11 deletions

Binary file not shown.

View File

@@ -9,8 +9,8 @@
<Window.Resources>
<!-- 计时按钮样式 -->
<Style x:Key="TimerButtonStyle" TargetType="Button">
<Setter Property="Width" Value="65"/>
<Setter Property="Height" Value="35"/>
<Setter Property="Width" Value="80"/>
<Setter Property="Height" Value="45"/>
<Setter Property="FontSize" Value="13"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Foreground" Value="White"/>
@@ -116,9 +116,9 @@
<StackPanel Grid.Row="0" Grid.Column="0" Margin="5">
<TextBlock Text="第1次" FontWeight="Bold"/>
<TextBox x:Name="txtTime1" Width="80" Margin="0,2"/>
<WrapPanel HorizontalAlignment="Center" Margin="0,4">
<Button x:Name="btnStart1" Content="开始" Style="{StaticResource TimerButtonStyle}" Click="BtnStart1_Click"/>
<Button x:Name="btnStop1" Content="结束" Style="{StaticResource TimerButtonStyle}" Click="BtnStop1_Click" Margin="8,0,0,0"/>
<WrapPanel HorizontalAlignment="Center" Orientation="Vertical">
<Button x:Name="btnStart1" Content="开始" Style="{StaticResource TimerButtonStyle}" Click="BtnStart1_Click" Margin="0,4"/>
<Button x:Name="btnStop1" Content="结束" Style="{StaticResource TimerButtonStyle}" Click="BtnStop1_Click"/>
</WrapPanel>
</StackPanel>
@@ -126,9 +126,9 @@
<StackPanel Grid.Row="0" Grid.Column="1" Margin="5">
<TextBlock Text="第2次" FontWeight="Bold"/>
<TextBox x:Name="txtTime2" Width="80" Margin="0,2"/>
<WrapPanel HorizontalAlignment="Center" Margin="0,4">
<WrapPanel HorizontalAlignment="Center" Orientation="Vertical">
<Button x:Name="btnStart2" Content="开始" Style="{StaticResource TimerButtonStyle}" Click="BtnStart2_Click"/>
<Button x:Name="btnStop2" Content="结束" Style="{StaticResource TimerButtonStyle}" Click="BtnStop2_Click" Margin="8,0,0,0"/>
<Button x:Name="btnStop2" Content="结束" Style="{StaticResource TimerButtonStyle}" Click="BtnStop2_Click" Margin="0,4"/>
</WrapPanel>
</StackPanel>
@@ -136,9 +136,9 @@
<StackPanel Grid.Row="0" Grid.Column="2" Margin="5">
<TextBlock Text="第3次" FontWeight="Bold"/>
<TextBox x:Name="txtTime3" Width="80" Margin="0,2"/>
<WrapPanel HorizontalAlignment="Center" Margin="0,4">
<WrapPanel HorizontalAlignment="Center" Orientation="Vertical">
<Button x:Name="btnStart3" Content="开始" Style="{StaticResource TimerButtonStyle}" FontSize="11" Click="BtnStart3_Click"/>
<Button x:Name="btnStop3" Content="结束" Style="{StaticResource TimerButtonStyle}" Click="BtnStop3_Click" Margin="8,0,0,0"/>
<Button x:Name="btnStop3" Content="结束" Style="{StaticResource TimerButtonStyle}" Click="BtnStop3_Click" Margin="0,4"/>
</WrapPanel>
</StackPanel>
@@ -146,9 +146,9 @@
<StackPanel Grid.Row="0" Grid.Column="3" Margin="5">
<TextBlock Text="第4次" FontWeight="Bold"/>
<TextBox x:Name="txtTime4" Width="80" Margin="0,2"/>
<WrapPanel HorizontalAlignment="Center" Margin="0,4">
<WrapPanel HorizontalAlignment="Center" Orientation="Vertical">
<Button x:Name="btnStart4" Content="开始" Style="{StaticResource TimerButtonStyle}" Click="BtnStart4_Click"/>
<Button x:Name="btnStop4" Content="结束" Style="{StaticResource TimerButtonStyle}" Click="BtnStop4_Click" Margin="8,0,0,0"/>
<Button x:Name="btnStop4" Content="结束" Style="{StaticResource TimerButtonStyle}" Click="BtnStop4_Click" Margin="0,4"/>
</WrapPanel>
</StackPanel>