2023-03-04 16:03:51 +00:00
|
|
|
<UserControl x:Class="VPet_Simulator.Windows.TalkBox"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI" Height="500" Width="500">
|
|
|
|
<Border Background="{DynamicResource PrimaryLighter}" BorderBrush="{DynamicResource Primary}" BorderThickness="5"
|
|
|
|
VerticalAlignment="Top" Margin="5,50,5,5" CornerRadius="5" Padding="5">
|
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="4*"/>
|
|
|
|
<ColumnDefinition Width="5"/>
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
2023-03-06 09:46:13 +00:00
|
|
|
<TextBox x:Name="tbTalk" Style="{DynamicResource StandardTextBoxStyle}" Height="Auto"
|
2023-03-04 16:03:51 +00:00
|
|
|
pu:TextBoxHelper.Watermark="和桌宠说" FontSize="30" AcceptsReturn="True" TextWrapping="WrapWithOverflow"/>
|
|
|
|
<Button pu:ButtonHelper.CornerRadius="4" Content="发送" BorderThickness="2"
|
|
|
|
Background="{DynamicResource SecondaryLight}" Grid.Column="2" BorderBrush="{DynamicResource DARKPrimaryDarker}"
|
|
|
|
FontSize="30" Click="SendMessage_Click" />
|
2023-03-07 16:50:03 +00:00
|
|
|
<Button x:Name="btn_startup" pu:ButtonHelper.CornerRadius="4" Content="初始化桌宠聊天程序" BorderThickness="2" x:FieldModifier="public"
|
2023-03-06 09:46:13 +00:00
|
|
|
Background="{DynamicResource SecondaryLight}" BorderBrush="{DynamicResource DARKPrimaryDarker}"
|
|
|
|
FontSize="30" Click="StartUP_Click" Grid.ColumnSpan="3" />
|
2023-03-04 16:03:51 +00:00
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</UserControl>
|