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

62 lines
4.2 KiB
Plaintext
Raw Normal View History

2024-03-12 16:38:23 +00:00
<Window x:Class="VPet_Simulator.Windows.winWorkMenu" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ll="clr-namespace:LinePutScript.Localization.WPF;assembly=LinePutScript.Localization.WPF"
2024-03-14 11:31:34 +00:00
xmlns:local="clr-namespace:VPet_Simulator.Windows" mc:Ignorable="d" Title="{ll:Str 工作面板}" Height="550"
Width="680" ResizeMode="CanMinimize" FontSize="16" Closed="Window_Closed">
2024-03-12 16:38:23 +00:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="1*" />
<RowDefinition Height="1*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>
2024-03-14 11:31:34 +00:00
<TabControl x:Name="tbc" Grid.RowSpan="2" SelectionChanged="tbc_SelectionChanged">
<TabItem x:Name="tiw" Header="{ll:Str '工作'}">
<ListBox x:Name="lbWork" SelectionChanged="lbWork_SelectionChanged" />
2024-03-12 16:38:23 +00:00
</TabItem>
2024-03-14 11:31:34 +00:00
<TabItem x:Name="tis" Header="{ll:Str '学习'}">
<ListBox x:Name="lbStudy" SelectionChanged="lbStudy_SelectionChanged" />
2024-03-12 16:38:23 +00:00
</TabItem>
2024-03-14 11:31:34 +00:00
<TabItem x:Name="tip" Header="{ll:Str '玩耍'}">
<ListBox x:Name="lbPlay" SelectionChanged="lbPlay_SelectionChanged" />
2024-03-12 16:38:23 +00:00
</TabItem>
2024-03-26 13:10:09 +00:00
<TabItem x:Name="tstar" Header="{ll:Str '收藏'}">
<ListBox x:Name="lbStar" SelectionChanged="lbStar_SelectionChanged" />
</TabItem>
2024-03-12 16:38:23 +00:00
</TabControl>
<Image x:Name="WorkViewImage" Grid.Column="1" Margin="10,10,10,33" Source="/Res/img/r_singlemoney_1.png" />
2024-03-14 11:31:34 +00:00
<Button x:Name="btnStart" Grid.Row="1" Grid.Column="1" VerticalAlignment="Bottom" Margin="5" Height="30"
Content="{ll:Str 开始工作}" Background="{DynamicResource DARKPrimary}" BorderThickness="1"
pu:ButtonHelper.CornerRadius="5" BorderBrush="{DynamicResource DARKPrimaryDarker}"
2024-03-15 05:18:05 +00:00
Foreground="{DynamicResource DARKPrimaryText}" FontWeight="Bold" FontSize="20" IsEnabled="False"
Click="btnStart_Click" />
2024-03-26 13:10:09 +00:00
<Label x:Name="lName" Background="{x:Null}" Grid.Column="1" VerticalAlignment="Bottom"
Content="{ll:Str 请从侧边栏选择}" FontSize="24" Foreground="{DynamicResource DARKPrimaryDark}"
FontWeight="Bold" />
<ToggleButton x:Name="tbtn_star" Grid.Column="1" VerticalAlignment="Bottom" HorizontalAlignment="Right"
Content="&#xF18B;" FontFamily="remixicon" Style="{DynamicResource TextToggleButtonStyle}" FontSize="24"
Margin="6" pu:ToggleButtonHelper.CheckedContent="&#xF186;" Click="tbtn_star_Click"/>
2024-03-14 11:31:34 +00:00
<TextBlock Grid.Column="1" VerticalAlignment="Top" Grid.Row="1" Margin="10,5,0,0" HorizontalAlignment="Left">
<Run Text="{ll:Str '获得内容'}" /> : <LineBreak />
<Run Text="{ll:Str '获取效率'}" /> : <LineBreak />
<Run Text="{ll:Str '饱腹消耗'}" /> : <LineBreak />
<Run Text="{ll:Str '口渴消耗'}" /> : <LineBreak />
<Run Text="{ll:Str '心情消耗'}" /> : <LineBreak />
<Run Text="{ll:Str '等级限制'}" /> : <LineBreak />
<Run Text="{ll:Str '花费时间'}" /> : <LineBreak />
<Run Text="{ll:Str '奖励倍率'}" /> : <LineBreak />
<Run Text="{ll:Str '倍率调整'}" /> :
</TextBlock>
<TextBlock x:Name="tbDisplay" Grid.Column="1" VerticalAlignment="Top" Grid.Row="1" Margin="150,5,0,0"
HorizontalAlignment="Left" />
<Slider x:Name="wDouble" Grid.Column="1" Margin="20,190,20,0" Grid.Row="1" VerticalAlignment="Top"
SmallChange="1" Value="1" Minimum="1" IsEnabled="False" TickFrequency="1" IsSnapToTickEnabled="True"
ValueChanged="wDouble_ValueChanged" LargeChange="1" Style="{DynamicResource StandardSliderStyle}"
TickPlacement="Both" />
2024-03-12 16:38:23 +00:00
</Grid>
</Window>