You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
2.2 KiB

<tool:BaseDialog x:Class="Gumming.SplashScreen"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:tool="clr-namespace:GummingCommon;assembly=GummingCommon"
Background="{DynamicResource DefaultWindowBackground}"
Title="SplashScreen" Height="300" Width="460" ResizeMode="NoResize" WindowStartupLocation="CenterScreen">
<Grid Background="Transparent">
<Border CornerRadius="3" BorderBrush="Transparent" BorderThickness="1" Background="Transparent">
<Border CornerRadius="1" BorderThickness="1" Background="Transparent" Height="Auto" BorderBrush="{DynamicResource DialogInnerBorder}">
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="36"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="10"></RowDefinition>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Text="{Binding ProductTitle}"></TextBlock>
<Button Command="{Binding CancelCommand}" Cursor="Hand" Margin="0,6,10,0" VerticalAlignment="Top" HorizontalAlignment="Right" Grid.Column="1" Style="{DynamicResource btnCloseStyle}" Width="26" Height="26" x:Name="btnWinClose" Focusable="False" Click="btnWinClose_Click"></Button>
<Grid Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" x:Name="txtLoading" Text="正在加载..." HorizontalAlignment="Left" VerticalAlignment="Stretch" TextWrapping="Wrap" FontSize="14" Foreground="{DynamicResource FontBrush1}" ></TextBlock>
</Grid>
</Grid>
</Border>
</Border>
</Grid>
</tool:BaseDialog>