2020-11-27 18:51:02 +08:00
|
|
|
<UserControl
|
|
|
|
x:Class="BililiveRecorder.WPF.Controls.AddRoomCard"
|
|
|
|
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:ui="http://schemas.modernwpf.com/2019"
|
|
|
|
xmlns:local="clr-namespace:BililiveRecorder.WPF.Controls"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
d:DesignHeight="110" d:DesignWidth="210">
|
2020-11-28 05:39:56 +08:00
|
|
|
<Border Background="{DynamicResource SystemControlBackgroundAltHighBrush}"
|
|
|
|
BorderBrush="{DynamicResource SystemControlBackgroundAccentBrush}"
|
|
|
|
BorderThickness="1"
|
|
|
|
CornerRadius="5">
|
|
|
|
<Grid Margin="0,15">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="2*"/>
|
|
|
|
<RowDefinition Height="3.5*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
2020-12-10 17:02:56 +08:00
|
|
|
<ui:PathIcon Margin="5" Style="{StaticResource PathIconDataPlus}"/>
|
2020-11-28 05:39:56 +08:00
|
|
|
<TextBlock FontSize="20" VerticalAlignment="Center" Text="添加房间"/>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,0"
|
2020-11-27 18:51:02 +08:00
|
|
|
VerticalAlignment="Center" HorizontalAlignment="Center">
|
2020-11-28 05:39:56 +08:00
|
|
|
<TextBox Width="140" x:Name="InputTextBox" KeyDown="InputTextBox_KeyDown"
|
2020-11-27 18:51:02 +08:00
|
|
|
ui:ControlHelper.PlaceholderText="房间号或房间链接"/>
|
2020-11-28 05:39:56 +08:00
|
|
|
<Button Content="确定" Click="Button_Click" />
|
|
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
2020-11-27 18:51:02 +08:00
|
|
|
</UserControl>
|