lib/ui/SplashScreenForm.xaml
|
<Window 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:local="clr-x:Namespace:Fortigi" Title="Loading..." Width="300" Height="250" ResizeMode="NoResize" WindowStyle="None" WindowStartupLocation="CenterScreen" Background="White" Name="SplashScreen"> <Window.Resources> <Style TargetType="Label"> <Setter Property="HorizontalAlignment" Value="Center"/> <Setter Property="FontFamily" Value="Segoe UI"/> </Style> </Window.Resources> <Grid> <Grid.RowDefinitions> <RowDefinition Height="20"/> <RowDefinition Height="150"/> <RowDefinition Height="30"/> <RowDefinition Height="40"/> <RowDefinition Height="10"/> </Grid.RowDefinitions> <Border Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"> <Image x:Name="LogoImage" Width="150" Height="150" Stretch="Uniform" RenderOptions.BitmapScalingMode="HighQuality"/> </Border> <Label Grid.Row="2" x:Name="SplashLabel" Content="Initializing application..." FontSize="12" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/> <Label Grid.Row="3" x:Name="TextboxSplashVersion" Content="Version" FontSize="10" FontWeight="Normal" HorizontalAlignment="Center" VerticalAlignment="Center"/> </Grid> </Window> |