VPet/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml

420 lines
34 KiB
Plaintext
Raw Normal View History

2024-03-28 07:28:40 +00:00
<pu:WindowX x:Class="VPet_Simulator.Windows.winWorkMenu"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2024-03-12 16:38:23 +00:00
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:pu="https://opensource.panuon.com/wpf-ui"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" Foreground="{StaticResource PrimaryText}"
2024-03-12 16:38:23 +00:00
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ll="clr-namespace:LinePutScript.Localization.WPF;assembly=LinePutScript.Localization.WPF"
2024-05-17 05:20:08 +00:00
xmlns:local="clr-namespace:VPet_Simulator.Windows" mc:Ignorable="d" Title="{ll:Str 工作面板}" Height="375"
Style="{DynamicResource BaseWindowXStyle}" Background="{DynamicResource PrimaryLighter}" Width="650"
2024-03-28 07:28:40 +00:00
ResizeMode="CanMinimize" Closed="Window_Closed">
2024-05-17 18:07:56 +00:00
<pu:WindowX.Resources>
2024-05-18 18:51:38 +00:00
<Style x:Key="IconButtonStyle" TargetType="Button"
BasedOn="{StaticResource {x:Static pu:StyleKeys.ButtonStyle}}">
2024-05-17 18:07:56 +00:00
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="#BABABA" />
<Setter Property="FontFamily" Value="{StaticResource RemixIcon}" />
<Setter Property="pu:ButtonHelper.HoverForeground" Value="{DynamicResource DARKPrimary}" />
<Setter Property="pu:ButtonHelper.HoverBackground" Value="{x:Null}" />
<Setter Property="pu:ButtonHelper.ClickBackground" Value="{x:Null}" />
</Style>
<local:ScheduleItemTemplateSelector x:Key="ScheduleItemTemplateSelector" />
</pu:WindowX.Resources>
2024-03-12 16:38:23 +00:00
<Grid>
2024-03-28 07:28:40 +00:00
<Grid>
2024-03-27 16:45:14 +00:00
<Grid.ColumnDefinitions>
2024-03-27 18:36:56 +00:00
<ColumnDefinition Width="140" />
2024-03-27 16:45:14 +00:00
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Border Background="{DynamicResource DARKPrimaryText}" />
<StackPanel Margin="12, 10">
2024-03-28 07:28:40 +00:00
<TextBlock Text="{ll:Str 工作面板}" FontSize="18" Margin="5" Foreground="{DynamicResource DARKPrimary}" />
2024-03-27 16:45:14 +00:00
2024-03-28 07:28:40 +00:00
<ListBox x:Name="LsbCategory" Grid.Row="1" Margin="-12,10,-12,0" Background="Transparent"
BorderThickness="0" SelectedIndex="0" pu:ListBoxHelper.ItemsPadding="15,8"
pu:ListBoxHelper.ItemsSelectedBackground="{DynamicResource DARKPrimary}"
pu:ListBoxHelper.ItemsSelectedForeground="{DynamicResource DARKPrimaryText}"
SelectionChanged="LsbCategory_SelectionChanged">
2024-03-27 16:45:14 +00:00
<ListBoxItem x:Name="LsbiWork" Content="{ll:Str '工作'}" />
<ListBoxItem x:Name="LsbiStudy" Content="{ll:Str '学习'}" />
<ListBoxItem x:Name="LsbiPlay" Content="{ll:Str '玩耍'}" />
<ListBoxItem x:Name="LsbiStar" Content="{ll:Str '收藏'}" />
2024-05-17 05:20:08 +00:00
<ListBoxItem x:Name="LsbiAutoWork" Content="{ll:Str '日程表'}" />
2024-03-27 16:45:14 +00:00
</ListBox>
</StackPanel>
2024-03-28 07:28:40 +00:00
<Grid Grid.Column="1" Margin="15">
2024-05-18 18:51:38 +00:00
<Grid x:Name="gdWork" d:Visibility="Collapsed">
2024-05-17 05:20:08 +00:00
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="15" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
2024-03-27 16:45:14 +00:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
2024-05-17 05:20:08 +00:00
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock Text="{ll:Str 工作内容}"
2024-05-17 18:07:56 +00:00
FontSize="{Binding FontSize, Source={x:Static pu:GlobalSettings.Setting}}" />
2024-05-18 18:51:38 +00:00
<ComboBox x:Name="detailTypes" Grid.Row="1" Margin="0,3,0,0"
Style="{DynamicResource StandardComboBoxStyle}"
2024-05-17 18:07:56 +00:00
SelectionChanged="detailTypes_SelectionChanged" />
2024-05-17 05:20:08 +00:00
<Image x:Name="WorkViewImage" RenderOptions.BitmapScalingMode="HighQuality" Grid.Row="2"
Margin="-20,0" Stretch="Uniform" Source="/Res/img/r_singlemoney_1.png" />
<Border Grid.Row="2" VerticalAlignment="Bottom" Background="{DynamicResource SecondaryTrans}"
HorizontalAlignment="Left" Padding="5,0,5,0" CornerRadius="10">
<TextBlock Foreground="{DynamicResource DARKPrimaryDarker}" FontSize="20">
Lv <Run Text="{Binding Text,ElementName=tbLvLimit}" FontSize="36" FontWeight="Bold" />
</TextBlock>
</Border>
</Grid>
<Border Grid.Column="2" Background="White" CornerRadius="4" />
<Grid Grid.Column="2" Margin="15">
<Grid.RowDefinitions>
<RowDefinition />
2024-03-27 16:45:14 +00:00
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
2024-05-17 05:20:08 +00:00
<ToggleButton x:Name="tbtn_star" VerticalAlignment="Top" HorizontalAlignment="Right"
Content="&#xF18B;" FontFamily="pack://application:,,,/Res/#remixicon"
Style="{DynamicResource TextToggleButtonStyle}" FontSize="24" Margin="6"
pu:ToggleButtonHelper.CheckedContent="&#xF186;" Click="tbtn_star_Click" Grid.Column="4"
Grid.RowSpan="3" Grid.ColumnSpan="4" />
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="15" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="15" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
2024-03-28 07:28:40 +00:00
2024-05-17 05:20:08 +00:00
<TextBlock x:Name="tbGain" VerticalAlignment="Bottom"
Foreground="{DynamicResource PrimaryDarker}"
FontSize="{Binding FontSize, Converter={x:Static pu:Converters.DoublePlusConverter}, ConverterParameter=6, Source={x:Static pu:GlobalSettings.Setting}}">$金钱</TextBlock>
<TextBlock x:Name="tbSpeed" Grid.Column="2" VerticalAlignment="Bottom"
Foreground="{DynamicResource PrimaryDarker}" Text="+ 4/t" ToolTip="{ll:Str 获得效率}" />
<TextBlock Grid.Row="2" Text="{ll:Str 饱腹消耗}" />
<TextBlock x:Name="tbFood" Grid.Row="2" Grid.Column="2"
Foreground="{DynamicResource DangerBrush}" Text="- 1/t" />
<TextBlock Grid.Row="3" Text="{ll:Str 口渴消耗}" />
<TextBlock x:Name="tbDrink" Grid.Row="3" Grid.Column="2"
Foreground="{DynamicResource DangerBrush}" Text="- 4/t" />
<TextBlock Grid.Row="4" Text="{ll:Str 心情消耗}" />
<TextBlock x:Name="tbSpirit" Grid.Row="4" Grid.Column="2"
Foreground="{DynamicResource DangerBrush}" Text="- 4/t" />
<TextBlock Grid.Row="5" Text="{ll:Str 等级限制}" />
<TextBlock x:Name="tbLvLimit" Grid.Row="5" Grid.Column="2"
Foreground="{DynamicResource PrimaryDarker}" Text="- 4/t" />
<TextBlock Grid.Row="6" Text="{ll:Str 花费时间}" />
<TextBlock x:Name="tbTime" Grid.Row="6" Grid.Column="2"
Foreground="{DynamicResource PrimaryDarker}" Text="10 t" />
<TextBlock Grid.Row="7" Text="{ll:Str 奖励倍率}" />
<TextBlock x:Name="tbBonus" Grid.Row="7" Grid.Column="2"
Foreground="{DynamicResource PrimaryDarker}" Text="x2" />
<TextBlock Grid.Row="8" Text="{ll:Str 倍率调整}" />
<TextBlock x:Name="tbRatio" Grid.Row="8" Grid.Column="2"
Foreground="{DynamicResource PrimaryDarker}" Text="x2" />
<Slider x:Name="wDouble" pu:SliderHelper.ThumbWidth="10"
pu:SliderHelper.ThumbCornerRadius="2" pu:SliderHelper.ThumbHeight="16"
pu:SliderHelper.ThumbBorderThickness="2" Grid.Row="9" Grid.Column="0"
Grid.ColumnSpan="4" SmallChange="1" Value="1" Minimum="1" IsEnabled="False"
TickFrequency="1" IsSnapToTickEnabled="True" ValueChanged="wDouble_ValueChanged"
LargeChange="1" Style="{DynamicResource StandardSliderStyle}" TickPlacement="Both" />
</Grid>
<Button x:Name="btnAddAuto" Grid.Row="1" Content="{ll:Str 添加至日程表}" Padding="0"
Style="{DynamicResource ThemedButtonStyle}" Background="{DynamicResource PrimaryDarker}"
Click="btnStart_Click" Margin="5" Height="25" IsEnabled="False" />
<Button x:Name="btnStart" Grid.Row="2" Height="30" Content="{ll:Str 开始工作}"
Style="{DynamicResource ThemedButtonStyle}" Background="{DynamicResource PrimaryDarker}"
Click="btnStart_Click" FontSize="16" FontWeight="Bold" />
2024-03-27 16:45:14 +00:00
</Grid>
</Grid>
2024-05-17 18:07:56 +00:00
<Grid x:Name="gdSchedule">
<TabControl pu:TabControlHelper.ItemsCornerRadius="4" pu:TabControlHelper.ItemsHeight="NaN"
2024-05-18 18:51:38 +00:00
pu:TabControlHelper.ItemsHoverBackground="{DynamicResource PrimaryLight}"
pu:TabControlHelper.ItemsPadding="10,7"
pu:TabControlHelper.ItemsSelectedBackground="{DynamicResource PrimaryDark}"
pu:TabControlHelper.ItemsSelectedForeground="{DynamicResource DARKPrimaryText}"
Background="Transparent" BorderThickness="0" Foreground="{DynamicResource PrimaryText}"
SelectedIndex="0">
2024-05-17 18:07:56 +00:00
<TabItem Header="机构签署">
<Grid Margin="7">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="15" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition />
</Grid.RowDefinitions>
<UniformGrid Columns="2">
<UniformGrid.Resources>
2024-05-18 18:51:38 +00:00
<Style TargetType="ToggleButton"
BasedOn="{StaticResource {x:Static pu:StyleKeys.ToggleButtonStyle}}">
2024-05-17 18:07:56 +00:00
<Setter Property="Padding" Value="0,3" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="{DynamicResource PrimaryText}" />
<Setter Property="BorderBrush" Value="{DynamicResource DARKPrimary}" />
<Setter Property="BorderThickness" Value="1.5" />
2024-05-18 18:51:38 +00:00
<Setter Property="pu:ToggleButtonHelper.CheckedBackground"
Value="{DynamicResource DARKPrimary}" />
<Setter Property="pu:ToggleButtonHelper.CheckedForeground"
Value="{DynamicResource DARKPrimaryText}" />
2024-05-17 18:07:56 +00:00
</Style>
</UniformGrid.Resources>
2024-05-18 18:51:38 +00:00
<ToggleButton x:Name="tbtnAgencyJob"
pu:ToggleButtonHelper.CornerRadius="4,0,0,4" Content="工作中介"
IsChecked="True" Checked="tbtn_Agency_CheckChanged"
PreviewMouseLeftButtonDown="tbtnAgency_PreviewMouseLeftButtonDown" />
<ToggleButton x:Name="tbtnAgencyTraning"
pu:ToggleButtonHelper.CornerRadius="0,4,4,0" Content="培训机构"
Checked="tbtn_Agency_CheckChanged"
PreviewMouseLeftButtonDown="tbtnAgency_PreviewMouseLeftButtonDown" />
2024-05-17 18:07:56 +00:00
</UniformGrid>
<Image x:Name="imgAgency" RenderOptions.BitmapScalingMode="HighQuality" Grid.Row="2"
2024-05-18 18:51:38 +00:00
Margin="-20,0" Stretch="Uniform" Source="/Res/img/r_agency_job.png" />
2024-05-17 18:07:56 +00:00
</Grid>
<Border Grid.Column="2" Background="White" CornerRadius="4" />
<Grid Grid.Column="2" Margin="15">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
2024-05-18 18:51:38 +00:00
<ComboBox x:Name="combTaskType" Margin="0,3,0,0"
Style="{DynamicResource StandardComboBoxStyle}"
pu:ComboBoxHelper.Watermark="--请选择套餐--" />
<TextBlock Grid.Row="1" Margin="0,7,0,0" VerticalAlignment="Bottom"
Text="{ll:Str 选择等级}" />
<TextBlock Grid.Row="1" Margin="0,7,0,0" FontSize="16" HorizontalAlignment="Right"
Foreground="{DynamicResource DARKPrimary}">
<Run Text="Lv." />
<Run Text="50" />
2024-05-17 18:07:56 +00:00
</TextBlock>
<Slider Grid.Row="2" pu:SliderHelper.ThumbWidth="10"
2024-05-18 18:51:38 +00:00
pu:SliderHelper.ThumbCornerRadius="2" pu:SliderHelper.ThumbHeight="16"
pu:SliderHelper.ThumbBorderThickness="2" SmallChange="1" Value="1"
Minimum="1" TickFrequency="1" IsSnapToTickEnabled="True" LargeChange="1"
Style="{DynamicResource StandardSliderStyle}" TickPlacement="Both"></Slider>
2024-05-17 18:07:56 +00:00
<Grid Grid.Row="4" Margin="0,3,0,0">
<Grid.RowDefinitions>
2024-05-18 18:51:38 +00:00
<RowDefinition />
<RowDefinition Height="5" />
2024-05-17 18:07:56 +00:00
<RowDefinition />
<RowDefinition />
2024-05-18 18:51:38 +00:00
<RowDefinition Height="10"/>
2024-05-17 18:07:56 +00:00
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
2024-05-18 18:51:38 +00:00
<ColumnDefinition Width="35" />
2024-05-17 18:07:56 +00:00
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
2024-05-18 18:51:38 +00:00
<TextBlock x:Name="rTaskType">抽成</TextBlock>
<TextBlock Grid.Column="2" HorizontalAlignment="Right"
Foreground="{DynamicResource DARKPrimary}" Text="20%" />
<TextBlock Grid.Row="5" Text="{ll:Str '办理费用'}" />
<TextBlock Grid.Row="5" Grid.Column="2" HorizontalAlignment="Right"
Foreground="{DynamicResource DARKPrimary}" Text="100000"
FontWeight="Bold" FontSize="16" />
<TextBlock Grid.Row="2" Text="{ll:Str '等级需求'}" />
<TextBlock Grid.Row="3" Text="{ll:Str '合同持续时间'}" />
<TextBlock Grid.Row="2" Grid.Column="2" HorizontalAlignment="Right"
Foreground="{DynamicResource DARKPrimary}" Text="Lv 100" />
<TextBlock Grid.Row="3" Grid.Column="2" HorizontalAlignment="Right"
Foreground="{DynamicResource DARKPrimary}" Text="7 天" />
2024-05-17 18:07:56 +00:00
</Grid>
2024-05-18 18:51:38 +00:00
<Button x:Name="btnSignAgency" Grid.Row="6" Height="30" Content="{ll:Str 签署}"
Style="{DynamicResource ThemedButtonStyle}"
Background="{DynamicResource PrimaryDarker}" Click="btnSignAgency_Click"
FontSize="16" FontWeight="Bold" />
2024-05-17 18:07:56 +00:00
</Grid>
</Grid>
</TabItem>
<TabItem Header="日程表">
<Grid Margin="3">
<Grid.ColumnDefinitions>
<ColumnDefinition />
2024-05-18 18:51:38 +00:00
<ColumnDefinition Width="140" />
2024-05-17 18:07:56 +00:00
</Grid.ColumnDefinitions>
<Grid Margin="0,0,15,0">
2024-05-18 18:51:38 +00:00
<Border Background="White" CornerRadius="4" />
2024-05-17 18:07:56 +00:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock Margin="7,7,0,0" Text="日程安排" />
<ScrollViewer Grid.Row="1">
<StackPanel Margin="20,7,7,7">
<ItemsControl x:Name="icSchedule"
2024-05-18 18:51:38 +00:00
ItemTemplateSelector="{StaticResource ScheduleItemTemplateSelector}">
2024-05-17 18:07:56 +00:00
<ItemsControl.Resources>
2024-05-18 18:51:38 +00:00
<DataTemplate x:Key="WorkScheduleTemplate">
<StackPanel>
<Button Margin="-20,-5,0,-5" HorizontalAlignment="Left"
Visibility="{Binding IsPreviousIsRest, Converter={x:Static pu:Converters.TrueToCollapseConverter}}"
Style="{DynamicResource IconButtonStyle}"
ToolTip="{ll:Str 添加休息}"
Click="btn_addRest_Click">&#xea11;</Button>
<Border Height="90" CornerRadius="5"
Background="{DynamicResource DARKPrimaryTrans4}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="120" />
<ColumnDefinition />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<StackPanel Margin="-15,0,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Center">
<Button Margin="0,0,0,0" Padding="0"
Style="{DynamicResource IconButtonStyle}"
ToolTip="{ll:Str 上移}"
Click="btn_scheduleUp_Click">&#xea76;</Button>
<Button Margin="0,0,0,0" Padding="0"
Style="{DynamicResource IconButtonStyle}"
ToolTip="{ll:Str 下移}"
Click="btn_scheduleDown_Click">&#xea4c;</Button>
</StackPanel>
<Image Stretch="Uniform"
Source="/Res/img/r_autobuy_3.png" />
<StackPanel Grid.Column="1"
VerticalAlignment="Center">
<TextBlock>工作内容</TextBlock>
<TextBlock FontSize="16"
Foreground="{DynamicResource DARKPrimary}"
Text="{Binding WorkName}" />
2024-05-17 18:07:56 +00:00
<TextBlock>持续时间</TextBlock>
2024-05-18 18:51:38 +00:00
<TextBlock FontSize="16"
Foreground="{DynamicResource DARKPrimary}">
<Run Text="{Binding WorkTime}" />
2024-05-17 18:07:56 +00:00
<Run>分钟</Run>
2024-05-18 18:51:38 +00:00
</TextBlock>
</StackPanel>
<Button Grid.Column="2"
HorizontalAlignment="Right"
Background="Transparent"
Foreground="{DynamicResource DangerBrush}"
FontFamily="{StaticResource RemixIcon}"
Click="btn_removeSchedule_Click">&#xeb97;</Button>
</Grid>
</Border>
</StackPanel>
</DataTemplate>
<DataTemplate x:Key="RestScheduleTemplate">
<Border Margin="0,7,0,7" Height="30" CornerRadius="5"
Padding="0,3" Background="#F1F2F3">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" Margin="7,0">
<TextBlock VerticalAlignment="Center">休息</TextBlock>
<pu:NumberInput Minimum="0" Interval="1"
IsSnapToIntervalEnabled="True"
Background="Transparent"
BorderThickness="0"
Foreground="{DynamicResource DARKPrimary}"
FontSize="16" Padding="0"
Value="{Binding RestTime, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
ValueChanged="NumberInput_ValueChanged">
2024-05-17 18:07:56 +00:00
<pu:NumberInput.UpDownButtonStyle>
2024-05-18 18:51:38 +00:00
<Style TargetType="RepeatButton"
BasedOn="{StaticResource {x:Static pu:NumberInput.UpDownButtonStyleKey}}">
<Setter Property="FontSize"
Value="10" />
2024-05-17 18:07:56 +00:00
</Style>
</pu:NumberInput.UpDownButtonStyle>
2024-05-18 18:51:38 +00:00
</pu:NumberInput>
<TextBlock VerticalAlignment="Center"
Foreground="{DynamicResource DARKPrimary}"
FontSize="16">分钟</TextBlock>
</StackPanel>
<Button Grid.Column="2" HorizontalAlignment="Right"
VerticalAlignment="Center"
Background="Transparent"
Foreground="{DynamicResource DangerBrush}"
FontFamily="{StaticResource RemixIcon}"
Content="&#xeb97;"
Click="btn_removeSchedule_Click" />
</Grid>
</Border>
</DataTemplate>
</ItemsControl.Resources>
2024-05-17 18:07:56 +00:00
</ItemsControl>
<Button Margin="-20,-5,0,-5" HorizontalAlignment="Left"
2024-05-18 18:51:38 +00:00
Style="{DynamicResource IconButtonStyle}" Content="&#xea11;"
ToolTip="{ll:Str 添加休息}" Click="btn_addRest_Click" />
2024-05-17 18:07:56 +00:00
</StackPanel>
</ScrollViewer>
</Grid>
</Grid>
2024-05-18 18:51:38 +00:00
<Grid Grid.Column="1" Margin="0,7,7,7">
2024-05-17 18:07:56 +00:00
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
2024-05-18 18:51:38 +00:00
<TextBlock Text="合计" />
2024-05-17 18:07:56 +00:00
<Grid Grid.Row="1" Margin="0,7,0,0">
2024-05-18 18:51:38 +00:00
<pu:RingProgressBar x:Name="rpgbSchedule"
Height="{Binding ActualWidth, RelativeSource={RelativeSource Self}}"
IsPercentVisible="False" FontSize="20"
Foreground="{DynamicResource DARKPrimary}"
BorderBrush="{DynamicResource DARKPrimaryTrans4}" BorderThickness="2"
Minimum="0" Maximum="100" Value="0" />
2024-05-17 18:07:56 +00:00
<Grid HorizontalAlignment="Center" VerticalAlignment="Center">
<StackPanel>
<TextBlock Opacity="0.5">工作时间</TextBlock>
2024-05-18 18:51:38 +00:00
<TextBlock Foreground="{DynamicResource DARKPrimary}"
HorizontalAlignment="Right">
2024-05-17 18:07:56 +00:00
<Run x:Name="runScheduleWork" FontSize="22">0</Run>
<Run>分钟</Run>
</TextBlock>
<TextBlock Opacity="0.5">休息时间</TextBlock>
2024-05-18 18:51:38 +00:00
<TextBlock Foreground="{DynamicResource DARKPrimary}"
HorizontalAlignment="Right">
2024-05-17 18:07:56 +00:00
<Run x:Name="runScheduleRest" FontSize="22">0</Run>
<Run>分钟</Run>
</TextBlock>
</StackPanel>
</Grid>
</Grid>
<ToggleButton x:Name="btnStartSchedule" Grid.Row="3"
2024-05-18 18:51:38 +00:00
Style="{DynamicResource ThemedToggleButtonStyle}" Height="30"
Content="{ll:Str 开始日程}" Background="{DynamicResource PrimaryDarker}"
FontSize="16" FontWeight="Bold" Click="btnStartSchedule_Click" />
2024-05-17 18:07:56 +00:00
</Grid>
</Grid>
</TabItem>
</TabControl>
</Grid>
2024-03-27 16:45:14 +00:00
</Grid>
</Grid>
2024-03-12 16:38:23 +00:00
</Grid>
2024-03-27 16:45:14 +00:00
</pu:WindowX>