1234567891011121314151617181920212223242526272829303132 |
- <Window x:Class="PRSDesktop.Forms.ConnectionFailed"
- 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"
- Title="Connection Failed" Height="172" Width="395">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <TextBlock Text="PRS was unable to connect to the database server; this may be due to the server being down right now, or the database settings (such as URL or port number) may be incorrect. Would you like to try to connect again or open the database configuration screen?"
- TextWrapping="Wrap" Padding="5"/>
- <DockPanel Grid.Row="1" LastChildFill="False">
- <Button Content="Open Database Configuration"
- Padding="5" Margin="5"
- DockPanel.Dock="Right"
- Name="ConfigurationButton"
- Click="ConfigurationButton_Click"/>
- <Button Content="Re-try Connection"
- Padding="5" Margin="5,5,0,5"
- DockPanel.Dock="Right"
- Name="RetryButton"
- Click="RetryButton_Click"/>
- <Button Content="Quit" Padding="5" Margin="5"
- Name="QuitButton"
- Click="QuitButton_Click"/>
- </DockPanel>
- </Grid>
- </Window>
|