mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
|
<Window x:Class="BililiveRecorder.WPF.TimedMessageBox"
|
||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
xmlns:local="clr-namespace:BililiveRecorder.WPF"
|
||
|
mc:Ignorable="d" ResizeMode="NoResize"
|
||
|
Title="TimedMessageBox" Height="200" Width="320"
|
||
|
Loaded="Window_Loaded">
|
||
|
<Grid>
|
||
|
<Grid.ColumnDefinitions>
|
||
|
<ColumnDefinition Width="1*"/>
|
||
|
<ColumnDefinition Width="1*"/>
|
||
|
</Grid.ColumnDefinitions>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="5*"/>
|
||
|
<RowDefinition Height="3*"/>
|
||
|
</Grid.RowDefinitions>
|
||
|
<TextBlock Grid.ColumnSpan="2" VerticalAlignment="Center" TextAlignment="Center" TextWrapping="Wrap" FontSize="16" Text="{Binding Message}"/>
|
||
|
<Button Grid.Row="1" Grid.Column="0" Margin="10" FontSize="20" Click="ConfirmClick">
|
||
|
确定
|
||
|
</Button>
|
||
|
<Button Grid.Row="1" Grid.Column="1" Margin="10" Click="CancelClick">
|
||
|
<TextBlock FontSize="20">取消 (<TextBlock Text="{Binding CountDown}"/>)</TextBlock>
|
||
|
</Button>
|
||
|
</Grid>
|
||
|
</Window>
|