improve:计时器UI
This commit is contained in:
@@ -79,7 +79,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
<!-- 数字显示 -->
|
<!-- 数字显示 -->
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
<!-- 数字显示 -->
|
<!-- 数字显示 -->
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
<!-- 数字显示 -->
|
<!-- 数字显示 -->
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
@@ -237,7 +237,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
<!-- 数字显示 -->
|
<!-- 数字显示 -->
|
||||||
@@ -260,7 +260,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
@@ -297,7 +297,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
<!-- 数字显示 -->
|
<!-- 数字显示 -->
|
||||||
@@ -320,7 +320,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
@@ -346,7 +346,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
<!-- 数字显示 -->
|
<!-- 数字显示 -->
|
||||||
@@ -369,7 +369,7 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"/>
|
Stretch="Uniform"/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
@@ -382,17 +382,17 @@
|
|||||||
<!-- 分割线 -->
|
<!-- 分割线 -->
|
||||||
<Border Width="2" Background="{DynamicResource SeewoTimerWindowButtonForeground}"
|
<Border Width="2" Background="{DynamicResource SeewoTimerWindowButtonForeground}"
|
||||||
Opacity="0.3" HorizontalAlignment="Left" VerticalAlignment="Stretch"
|
Opacity="0.3" HorizontalAlignment="Left" VerticalAlignment="Stretch"
|
||||||
Margin="520,0,0,0"/>
|
Margin="510,0,0,0"/>
|
||||||
|
|
||||||
<!-- 右侧:快捷选项区域 -->
|
<!-- 右侧:快捷选项区域 -->
|
||||||
<Grid HorizontalAlignment="Left" VerticalAlignment="Center"
|
<Grid HorizontalAlignment="Left" VerticalAlignment="Center"
|
||||||
x:Name="QuickOptionsGrid" Width="400" Margin="480,0,0,0" Height="200">
|
x:Name="QuickOptionsGrid" Width="400" Margin="510,0,0,0" Height="200">
|
||||||
<StackPanel Orientation="Vertical" HorizontalAlignment="Center">
|
<StackPanel Orientation="Vertical" HorizontalAlignment="Center">
|
||||||
<!-- Tab切换区域 -->
|
<!-- Tab切换区域 -->
|
||||||
<Grid Margin="0,0,0,20">
|
<Grid Margin="0,0,0,20">
|
||||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
||||||
<Button x:Name="CommonTabBtn" Width="120" Height="40" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="CommonTabBtn" Width="120" Height="40" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="CommonTab_Click" Cursor="Hand" Margin="0,0,12,0">
|
BorderThickness="0" Click="CommonTab_Click" Cursor="Hand" Margin="0,0,15,0">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
||||||
@@ -400,7 +400,7 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Button.Template>
|
</Button.Template>
|
||||||
<TextBlock Text="常用" FontSize="14" FontWeight="Bold"
|
<TextBlock Text="常用" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button x:Name="RecentTabBtn" Width="120" Height="40" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="RecentTabBtn" Width="120" Height="40" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
@@ -412,7 +412,7 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Button.Template>
|
</Button.Template>
|
||||||
<TextBlock Text="最近" FontSize="14" FontWeight="Bold"
|
<TextBlock Text="最近" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
@@ -423,8 +423,8 @@
|
|||||||
<StackPanel Orientation="Vertical" HorizontalAlignment="Center">
|
<StackPanel Orientation="Vertical" HorizontalAlignment="Center">
|
||||||
<!-- 第一排:5分钟, 10分钟, 15分钟 -->
|
<!-- 第一排:5分钟, 10分钟, 15分钟 -->
|
||||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,0,0,10">
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,0,0,10">
|
||||||
<Button x:Name="Common5MinBtn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="Common5MinBtn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="Common5Min_Click" Cursor="Hand" Margin="0,0,12,0">
|
BorderThickness="0" Click="Common5Min_Click" Cursor="Hand" Margin="0,0,15,0">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
||||||
@@ -440,15 +440,15 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"
|
Stretch="Uniform"
|
||||||
Margin="0,0,6,0"/>
|
Margin="0,0,8,0"/>
|
||||||
<TextBlock Text="05:00" FontSize="14" FontWeight="Bold"
|
<TextBlock Text="05:00" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Button>
|
</Button>
|
||||||
<Button x:Name="Common10MinBtn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="Common10MinBtn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="Common10Min_Click" Cursor="Hand" Margin="0,0,12,0">
|
BorderThickness="0" Click="Common10Min_Click" Cursor="Hand" Margin="0,0,15,0">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
||||||
@@ -464,14 +464,14 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"
|
Stretch="Uniform"
|
||||||
Margin="0,0,6,0"/>
|
Margin="0,0,8,0"/>
|
||||||
<TextBlock Text="10:00" FontSize="14" FontWeight="Bold"
|
<TextBlock Text="10:00" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Button>
|
</Button>
|
||||||
<Button x:Name="Common15MinBtn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="Common15MinBtn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="Common15Min_Click" Cursor="Hand">
|
BorderThickness="0" Click="Common15Min_Click" Cursor="Hand">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
@@ -488,10 +488,10 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"
|
Stretch="Uniform"
|
||||||
Margin="0,0,6,0"/>
|
Margin="0,0,8,0"/>
|
||||||
<TextBlock Text="15:00" FontSize="14" FontWeight="Bold"
|
<TextBlock Text="15:00" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Button>
|
</Button>
|
||||||
@@ -499,8 +499,8 @@
|
|||||||
|
|
||||||
<!-- 第二排:30分钟, 45分钟, 60分钟 -->
|
<!-- 第二排:30分钟, 45分钟, 60分钟 -->
|
||||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
||||||
<Button x:Name="Common30MinBtn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="Common30MinBtn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="Common30Min_Click" Cursor="Hand" Margin="0,0,12,0">
|
BorderThickness="0" Click="Common30Min_Click" Cursor="Hand" Margin="0,0,15,0">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
||||||
@@ -516,15 +516,15 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"
|
Stretch="Uniform"
|
||||||
Margin="0,0,6,0"/>
|
Margin="0,0,8,0"/>
|
||||||
<TextBlock Text="30:00" FontSize="14" FontWeight="Bold"
|
<TextBlock Text="30:00" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Button>
|
</Button>
|
||||||
<Button x:Name="Common45MinBtn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="Common45MinBtn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="Common45Min_Click" Cursor="Hand" Margin="0,0,12,0">
|
BorderThickness="0" Click="Common45Min_Click" Cursor="Hand" Margin="0,0,15,0">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
||||||
@@ -540,14 +540,14 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"
|
Stretch="Uniform"
|
||||||
Margin="0,0,6,0"/>
|
Margin="0,0,8,0"/>
|
||||||
<TextBlock Text="45:00" FontSize="14" FontWeight="Bold"
|
<TextBlock Text="45:00" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Button>
|
</Button>
|
||||||
<Button x:Name="Common60MinBtn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="Common60MinBtn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="Common60Min_Click" Cursor="Hand">
|
BorderThickness="0" Click="Common60Min_Click" Cursor="Hand">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
@@ -564,10 +564,10 @@
|
|||||||
StrokeEndLineCap="Round"
|
StrokeEndLineCap="Round"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"
|
Stretch="Uniform"
|
||||||
Margin="0,0,6,0"/>
|
Margin="0,0,8,0"/>
|
||||||
<TextBlock Text="60:00" FontSize="14" FontWeight="Bold"
|
<TextBlock Text="60:00" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Button>
|
</Button>
|
||||||
@@ -580,8 +580,8 @@
|
|||||||
<StackPanel Orientation="Vertical" HorizontalAlignment="Center">
|
<StackPanel Orientation="Vertical" HorizontalAlignment="Center">
|
||||||
<!-- 第一排:最近3个 -->
|
<!-- 第一排:最近3个 -->
|
||||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,0,0,10">
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,0,0,10">
|
||||||
<Button x:Name="RecentTimer1Btn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="RecentTimer1Btn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="RecentTimer1_Click" Cursor="Hand" Margin="0,0,12,0">
|
BorderThickness="0" Click="RecentTimer1_Click" Cursor="Hand" Margin="0,0,15,0">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
||||||
@@ -589,11 +589,11 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Button.Template>
|
</Button.Template>
|
||||||
<TextBlock x:Name="RecentTimer1Text" Text="--:--" FontSize="14" FontWeight="Bold"
|
<TextBlock x:Name="RecentTimer1Text" Text="--:--" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button x:Name="RecentTimer2Btn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="RecentTimer2Btn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="RecentTimer2_Click" Cursor="Hand" Margin="0,0,12,0">
|
BorderThickness="0" Click="RecentTimer2_Click" Cursor="Hand" Margin="0,0,15,0">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
||||||
@@ -601,10 +601,10 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Button.Template>
|
</Button.Template>
|
||||||
<TextBlock x:Name="RecentTimer2Text" Text="--:--" FontSize="14" FontWeight="Bold"
|
<TextBlock x:Name="RecentTimer2Text" Text="--:--" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button x:Name="RecentTimer3Btn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="RecentTimer3Btn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="RecentTimer3_Click" Cursor="Hand">
|
BorderThickness="0" Click="RecentTimer3_Click" Cursor="Hand">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
@@ -613,15 +613,15 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Button.Template>
|
</Button.Template>
|
||||||
<TextBlock x:Name="RecentTimer3Text" Text="--:--" FontSize="14" FontWeight="Bold"
|
<TextBlock x:Name="RecentTimer3Text" Text="--:--" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!-- 第二排:最近3个 -->
|
<!-- 第二排:最近3个 -->
|
||||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
||||||
<Button x:Name="RecentTimer4Btn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="RecentTimer4Btn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="RecentTimer4_Click" Cursor="Hand" Margin="0,0,12,0">
|
BorderThickness="0" Click="RecentTimer4_Click" Cursor="Hand" Margin="0,0,15,0">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
||||||
@@ -629,11 +629,11 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Button.Template>
|
</Button.Template>
|
||||||
<TextBlock x:Name="RecentTimer4Text" Text="--:--" FontSize="14" FontWeight="Bold"
|
<TextBlock x:Name="RecentTimer4Text" Text="--:--" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button x:Name="RecentTimer5Btn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="RecentTimer5Btn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="RecentTimer5_Click" Cursor="Hand" Margin="0,0,12,0">
|
BorderThickness="0" Click="RecentTimer5_Click" Cursor="Hand" Margin="0,0,15,0">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
<Border Background="{TemplateBinding Background}" CornerRadius="6">
|
||||||
@@ -641,10 +641,10 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Button.Template>
|
</Button.Template>
|
||||||
<TextBlock x:Name="RecentTimer5Text" Text="--:--" FontSize="14" FontWeight="Bold"
|
<TextBlock x:Name="RecentTimer5Text" Text="--:--" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Button x:Name="RecentTimer6Btn" Width="90" Height="50" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
<Button x:Name="RecentTimer6Btn" Width="100" Height="55" Background="{DynamicResource SeewoTimerWindowButtonBackground}"
|
||||||
BorderThickness="0" Click="RecentTimer6_Click" Cursor="Hand">
|
BorderThickness="0" Click="RecentTimer6_Click" Cursor="Hand">
|
||||||
<Button.Template>
|
<Button.Template>
|
||||||
<ControlTemplate TargetType="Button">
|
<ControlTemplate TargetType="Button">
|
||||||
@@ -653,7 +653,7 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Button.Template>
|
</Button.Template>
|
||||||
<TextBlock x:Name="RecentTimer6Text" Text="--:--" FontSize="14" FontWeight="Bold"
|
<TextBlock x:Name="RecentTimer6Text" Text="--:--" FontSize="16" FontWeight="Bold"
|
||||||
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
@@ -682,7 +682,7 @@
|
|||||||
StrokeThickness="2"
|
StrokeThickness="2"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"
|
Stretch="Uniform"
|
||||||
Margin="0,0,5,0"/>
|
Margin="0,0,5,0"/>
|
||||||
<TextBlock Text="全屏" FontSize="16" Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
<TextBlock Text="全屏" FontSize="16" Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
@@ -721,7 +721,7 @@
|
|||||||
StrokeThickness="2"
|
StrokeThickness="2"
|
||||||
StrokeLineJoin="Round"
|
StrokeLineJoin="Round"
|
||||||
Fill="Transparent"
|
Fill="Transparent"
|
||||||
Width="16" Height="16"
|
Width="20" Height="20"
|
||||||
Stretch="Uniform"
|
Stretch="Uniform"
|
||||||
Margin="0,0,5,0"/>
|
Margin="0,0,5,0"/>
|
||||||
<TextBlock Text="重置" FontSize="16" Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
<TextBlock Text="重置" FontSize="16" Foreground="{DynamicResource SeewoTimerWindowButtonForeground}"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user