<Window x:Class="DMS.WPF.Views.SplashWindow"
        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:vm="clr-namespace:DMS.WPF.ViewModels"
        d:DataContext="{d:DesignInstance vm:SplashViewModel}"
        xmlns:local="clr-namespace:DMS.WPF.Views"
        mc:Ignorable="d"
        Title="正在启动..." Height="400" Width="600"
        WindowStyle="None" WindowStartupLocation="CenterScreen" AllowsTransparency="True" Background="Transparent">
    <Grid>
        <Border CornerRadius="10" Background="#FF333333">
            <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
                <Image Source="/Assets/AppIcon2.ico" Width="100" Height="100"/>
                <TextBlock VerticalAlignment="Center" TextWrapping="Wrap" MaxWidth="500" Text="{Binding LoadingMessage}" Foreground="White" FontSize="16" Margin="0,20,0,0"/>
            </StackPanel>
        </Border>
    </Grid>
</Window>
