添加启动页
This commit is contained in:
18
DMS.WPF/Views/SplashWindow.xaml
Normal file
18
DMS.WPF/Views/SplashWindow.xaml
Normal file
@@ -0,0 +1,18 @@
|
||||
<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:local="clr-namespace:DMS.WPF.Views"
|
||||
mc:Ignorable="d"
|
||||
Title="SplashWindow" 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/AppIcon.png" Width="100" Height="100"/>
|
||||
<TextBlock Text="{Binding LoadingMessage}" Foreground="White" FontSize="16" Margin="0,20,0,0"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user