|
@@ -0,0 +1,53 @@
|
|
|
+<Window x:Class="PRSDesktop.Forms.ReconnectionWindow"
|
|
|
+ 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:PRSDesktop.Forms"
|
|
|
+ mc:Ignorable="d"
|
|
|
+ WindowStartupLocation="CenterScreen"
|
|
|
+ WindowStyle="None"
|
|
|
+ BorderThickness="0"
|
|
|
+ BorderBrush="Transparent"
|
|
|
+ AllowsTransparency="True"
|
|
|
+ Background="Transparent"
|
|
|
+ MouseDown="Window_MouseDown"
|
|
|
+ Width="350" Height="200"
|
|
|
+ Title="Reconnecting">
|
|
|
+ <Border CornerRadius="10" BorderBrush="Gray" BorderThickness="0.75" Padding="5,5,5,0" Background="White">
|
|
|
+ <Grid Margin="5">
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="Auto"/>
|
|
|
+ <RowDefinition Height="*"/>
|
|
|
+ <RowDefinition Height="Auto"/>
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="Auto"/>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Image Grid.Row="0" Grid.RowSpan="2" Grid.Column="0" Grid.ColumnSpan="2"
|
|
|
+ x:Name="Splash" Margin="20,10,20,10" Stretch="Uniform" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
|
|
|
+ <Button x:Name="CloseButton" Content="Exit PRS"
|
|
|
+ Grid.Row="0" Grid.Column="1"
|
|
|
+ Background="LightYellow" Padding="5" Margin="5"
|
|
|
+ Click="CloseButton_Click">
|
|
|
+ <Button.Style>
|
|
|
+ <Style TargetType="Button">
|
|
|
+ <Style.Resources>
|
|
|
+ <Style TargetType="Border">
|
|
|
+ <Setter Property="CornerRadius" Value="10"/>
|
|
|
+ </Style>
|
|
|
+ </Style.Resources>
|
|
|
+ </Style>
|
|
|
+ </Button.Style>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ <Label Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"
|
|
|
+ VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
|
|
+ HorizontalContentAlignment="Center"
|
|
|
+ FontSize="14" FontStyle="Oblique"
|
|
|
+ Margin="0"
|
|
|
+ Content="Connection lost; attempting to reconnect ..."/>
|
|
|
+ </Grid>
|
|
|
+ </Border>
|
|
|
+</Window>
|