Splash.xaml
<Window x:Class="TNRTC.PowerShell.Modules.TeamsNetworkReadinessTestingClient.Window1"
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:TNRTC.PowerShell.Modules.TeamsNetworkReadinessTestingClient" mc:Ignorable="d" Title="Splash" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Width="450" Height="250" WindowStyle="None"> <Border Margin="2" BorderBrush="Gray" BorderThickness="1" Background="{x:Static SystemColors.ControlLightLightBrush}"> <StackPanel VerticalAlignment="center" Height="250"> <Grid Height="236"> <Grid.RowDefinitions> <RowDefinition Height="20*"/> <RowDefinition Height="40*"/> <RowDefinition Height="30*"/> <RowDefinition Height="10*"/> </Grid.RowDefinitions> <Grid Grid.Row="0"> <Image x:Name="imgTeamsLogo" Margin="10,0,0,0" Height="28" Source="assets/msft_teams_logo.png" HorizontalAlignment="Left"/> <Image x:Name="imgSFBLogo" Margin="0,0,10,0" Source="assets/SFB_logo.png" Height="25" HorizontalAlignment="Right" /> </Grid> <Image Grid.Row="1" Name="imgSplashLogo" Source="assets/CorpLogo.png" HorizontalAlignment="Center" Grid.RowSpan="2" Width="300" VerticalAlignment="Top" Margin="0,30,0,0" Height="65"/> <StackPanel Orientation="Vertical" Grid.Row="2"> <TextBlock Margin="0,15,0,0" Text="Microsoft Teams and Skype for Business Online" Grid.Row="2" VerticalAlignment="top" HorizontalAlignment="Center" FontSize="18" FontFamily="Segoe UI Light"/> <TextBlock Margin="0,5" Text="Network Testing Companion" VerticalAlignment="top" HorizontalAlignment="Center" FontSize="16" FontFamily="Segoe UI Light"/> </StackPanel> <TextBlock Name="txtSplashStatus" Margin="0,5,0,5" Grid.Row="4" VerticalAlignment="Bottom" HorizontalAlignment="Center" FontSize="12" FontFamily="Segoe UI Light"/> </Grid> </StackPanel> </Border> </Window> |