PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/TimeSheetReporting/TimeSheetReporting/Views/ErrorWindow.xaml

#
XAML | 34 lines | 26 code | 8 blank | 0 comment | 0 complexity | 382e9d922578fb28b8bf3fa4c357ccaa MD5 | raw file
  1. <controls:ChildWindow
  2. x:Class="TimeSheetReporting.ErrorWindow"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
  6. Title="Error">
  7. <Grid x:Name="LayoutRoot" Width="540">
  8. <Grid.RowDefinitions>
  9. <RowDefinition Height="Auto"/>
  10. <RowDefinition Height="Auto"/>
  11. <RowDefinition/>
  12. <RowDefinition Height="Auto"/>
  13. </Grid.RowDefinitions>
  14. <TextBlock x:Name="IntroductoryText" Grid.Row="0" Margin="0"
  15. Text="An unknown error was encountered. Please contact your administrator for more information."/>
  16. <StackPanel x:Name="ContentStackPanel" Grid.Row="2" Margin="0,6,0,0">
  17. <TextBlock x:Name="LabelText" TextWrapping="Wrap" Margin="0,0,0,2"
  18. Text="Error details"/>
  19. <TextBox x:Name="ErrorTextBox" Height="90" TextWrapping="Wrap" IsReadOnly="True"
  20. VerticalScrollBarVisibility="Auto"/>
  21. </StackPanel>
  22. <Button x:Name="OKButton" Grid.Row="3" Click="OKButton_Click"
  23. Width="75" Height="23" HorizontalAlignment="Right" Margin="0,10,0,0"
  24. TabIndex="0" Content="OK"/>
  25. </Grid>
  26. </controls:ChildWindow>