ErrorWindow.xaml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <Window x:Class="GDNXFD.Alert.Config.Views.ErrorWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:view="clr-namespace:GDNXFD.Alert.Config.Views"
  5. Title="My Company - Travel" Height="666" Width="1024"
  6. Background="{StaticResource module-background-color-brush }"
  7. Icon="/Resources/Images/favicon.ico"
  8. WindowState="Maximized" WindowStyle="None" BorderThickness="0" Style="{x:Null}">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="20px"></ColumnDefinition>
  12. <ColumnDefinition Width="280px"></ColumnDefinition>
  13. <ColumnDefinition ></ColumnDefinition>
  14. <ColumnDefinition Width="50px"></ColumnDefinition>
  15. <ColumnDefinition Width="20px"></ColumnDefinition>
  16. </Grid.ColumnDefinitions>
  17. <Grid.RowDefinitions>
  18. <RowDefinition Height="135px"></RowDefinition>
  19. <RowDefinition Height="*"></RowDefinition>
  20. </Grid.RowDefinitions>
  21. <Border Grid.Row="0" Grid.ColumnSpan="5" Margin="0" Height="65" VerticalAlignment="Top" Background="#00FFFFFF" MouseLeftButtonDown="MainWindow_MouseLeftButtonDown"></Border>
  22. <Grid Grid.Row="0" Grid.ColumnSpan="4">
  23. <Grid.ColumnDefinitions>
  24. <ColumnDefinition Width="*"/>
  25. <ColumnDefinition Width="Auto"/>
  26. </Grid.ColumnDefinitions>
  27. <StackPanel HorizontalAlignment="Right" Orientation="Horizontal" Grid.Column="1" Margin="0,5,0,0" VerticalAlignment="Top" Height="20">
  28. <Button Click="MinimizeButton" Style="{StaticResource MinimizeButtonStyle}" Width="10" Margin="0,2,3,0" VerticalAlignment="Top"></Button>
  29. <Button Click="MaximizeButton" Style="{StaticResource MaximizeButtonStyle}" Width="18" ></Button>
  30. <Button Click="CloseButton" Style="{StaticResource CloseButtonStyle}" Height="15" ></Button>
  31. </StackPanel>
  32. </Grid>
  33. <Image Grid.Row="0" Grid.Column="1" IsHitTestVisible="False" IsEnabled="False" Source="/Resources/Images/logo.png" Stretch="Uniform" Margin="0,-5,0,5.2"></Image>
  34. <TextBlock Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="3" Style="{StaticResource MessagesTextStyle}" Text="{Binding NotInitializedError, Source={StaticResource Provider}, Mode=OneWay}" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
  35. </Grid>
  36. </Window>