<Window
    x:Class="XHWK.WKTool.MessageWindow"
    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"
    Title="星火微课"
    Width="446"
    Height="148"
    d:DesignHeight="250"
    MouseMove="Window_MouseMove"
    ResizeMode="NoResize"
    ShowInTaskbar="False"
    Style="{StaticResource ZWinStyle}"
    Topmost="True"
    WindowStartupLocation="CenterScreen"
    WindowState="Normal"
    WindowStyle="SingleBorderWindow"
    mc:Ignorable="d">

    <Border
        Background="White"
        BorderBrush="#3f6fff"
        BorderThickness="0">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="40" />
                <RowDefinition Height="*" />
                <RowDefinition Height="60" />
            </Grid.RowDefinitions>
            <Grid Grid.Row="0" Background="#3f6fff">
                <Label
                    x:Name="LblTitle"
                    Margin="14,0,0,0"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Center"
                    HorizontalContentAlignment="Stretch"
                    VerticalContentAlignment="Stretch"
                    Content="提示"
                    FontSize="18"
                    Foreground="White" />

                <Button
                    x:Name="BorCancel"
                    Grid.Row="0"
                    Width="46"
                    HorizontalAlignment="Right"
                    VerticalAlignment="Stretch"
                    Click="BtnCancel_Click"
                    Content="×"
                    Cursor="Hand"
                    FontSize="30"
                    Foreground="White" />
            </Grid>
            <Grid Grid.Row="1">
                <TextBlock
                    x:Name="TbkContent"
                    Margin="20,20,20,0"
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    FontSize="16"
                    Foreground="#333333"
                    Text=""
                    TextWrapping="Wrap" />
            </Grid>
            <Grid Grid.Row="2" Margin="0,0,0,0">
                <Border
                    x:Name="BorOk"
                    Margin="0,0,10,0"
                    HorizontalAlignment="Right"
                    VerticalAlignment="Center"
                    Background="#3f6fff"
                    CornerRadius="6">
                    <Button
                        x:Name="BtnOk"
                        Width="100"
                        Height="36"
                        Background="#00000000"
                        BorderBrush="{x:Null}"
                        Click="BtnOK_Click"
                        Content="确定"
                        Cursor="Hand"
                        FontSize="16"
                        Foreground="White"
                        IsDefault="True" />
                </Border>

            </Grid>

        </Grid>

    </Border>


</Window>
