mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
44 lines
3.1 KiB
XML
44 lines
3.1 KiB
XML
<Border x:Class="VPet_Simulator.Windows.MPUserControl" 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:ll="clr-namespace:LinePutScript.Localization.WPF;assembly=LinePutScript.Localization.WPF"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:VPet_Simulator.Windows"
|
|
mc:Ignorable="d" Margin="5" Background="{DynamicResource SecondaryTrans4}" CornerRadius="5">
|
|
<Grid>
|
|
<Grid Margin="7">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<Image x:Name="uimg" Height="50" Source="/Res/TopLogo2019.PNG" />
|
|
<StackPanel Grid.Column="1" Margin="15,0,0,0">
|
|
<TextBlock>
|
|
<Run Text="{ll:Str 访客}"
|
|
FontSize="{Binding FontSize, Converter={x:Static pu:Converters.DoubleMinusConverter}, ConverterParameter=2, Source={x:Static pu:GlobalSettings.Setting}}" />
|
|
: <Run x:Name="rPetName" Text="萝莉斯" FontWeight="Bold"
|
|
FontSize="{Binding FontSize, Converter={x:Static pu:Converters.DoublePlusConverter}, ConverterParameter=2, Source={x:Static pu:GlobalSettings.Setting}}" />
|
|
</TextBlock>
|
|
<TextBlock>
|
|
<Run Text="{ll:Str 来自}"
|
|
FontSize="{Binding FontSize, Converter={x:Static pu:Converters.DoubleMinusConverter}, ConverterParameter=2, Source={x:Static pu:GlobalSettings.Setting}}" />
|
|
: <Run x:Name="hostName" Text="XXX"
|
|
FontSize="{Binding FontSize, Converter={x:Static pu:Converters.DoubleMinusConverter}, ConverterParameter=2, Source={x:Static pu:GlobalSettings.Setting}}" />
|
|
</TextBlock>
|
|
<TextBlock x:Name="info" VerticalAlignment="Center"
|
|
FontSize="{Binding FontSize, Converter={x:Static pu:Converters.DoubleMinusConverter}, ConverterParameter=2, Source={x:Static pu:GlobalSettings.Setting}}">Lv ??</TextBlock>
|
|
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="2">
|
|
<Button Padding="7,5" Style="{DynamicResource ThemedButtonStyle}" Content="{ll:Str 重置位置}"
|
|
Click="btn_ReSetLocal" />
|
|
<Button x:Name="Kick" Padding="7,5" Click="Kick_Click" Visibility="Collapsed" d:Visibility="Visible"
|
|
HorizontalAlignment="Center" Background="Transparent"
|
|
FontSize="{Binding FontSize, Converter={x:Static pu:Converters.DoubleMinusConverter}, ConverterParameter=2, Source={x:Static pu:GlobalSettings.Setting}}">
|
|
<TextBlock TextDecorations="Underline" Text="{ll:Str 送客}" />
|
|
</Button>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|