mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
27 lines
1.9 KiB
XML
27 lines
1.9 KiB
XML
<Border x:Class="VPet_Simulator.Windows.MPUserControl" CornerRadius="5" BorderThickness="3"
|
|
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" Width="350" Height="80" Background="{DynamicResource SecondaryLight}"
|
|
BorderBrush="{DynamicResource Secondary}">
|
|
<Grid>
|
|
<pu:ContentControlX HorizontalAlignment="Left" Margin="10" CornerRadius="27">
|
|
<Image x:Name="uimg" Source="/Res/TopLogo2019.PNG" />
|
|
</pu:ContentControlX>
|
|
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" Margin="70,0,0,0"
|
|
Foreground="{DynamicResource DARKPrimaryDarker}" FontSize="16">
|
|
<Run Text="{ll:Str 访客}" />: <Run x:Name="rPetName" Text="萝莉斯" FontSize="20" FontWeight="Bold" />
|
|
<LineBreak />
|
|
<Run Text="{ll:Str 来自}" />: <Run x:Name="hostName" Text="XXX" FontWeight="Bold" /><LineBreak />
|
|
<Run x:Name="info" Text="Lv ??" />
|
|
</TextBlock>
|
|
<Button Style="{DynamicResource ThemedButtonStyle}" HorizontalAlignment="Right" Content="{ll:Str 重置位置}"
|
|
VerticalAlignment="Top" Margin="8" Click="btn_ReSetLocal" />
|
|
<Button x:Name="Kick" Style="{DynamicResource ThemedButtonStyle}" HorizontalAlignment="Right"
|
|
Content="{ll:Str 送客}" VerticalAlignment="Bottom" Margin="8" Click="Kick_Click" Visibility="Collapsed"
|
|
d:Visibility="Visible" />
|
|
</Grid>
|
|
</Border>
|