RecipeAlarmedDialog.xaml 2.3 KB

1234567891011121314151617181920212223242526272829303132
  1. <Window x:Class="Aitex.Core.UI.Dialog.RecipeAlarmedDialog"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. BorderThickness="0"
  5. Title="{DynamicResource GlobalLableRecipeAlarmedTitle}" Height="360" Width="550" ShowInTaskbar="False" Topmost="True"
  6. WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow" ResizeMode="NoResize" FontFamily="Arial,SimSun"
  7. Background="{StaticResource viewBackgroundColor}">
  8. <Grid>
  9. <Grid.RowDefinitions>
  10. <RowDefinition Height="46" />
  11. <RowDefinition Height="230" />
  12. <RowDefinition />
  13. </Grid.RowDefinitions>
  14. <Grid Background="Red" Name="topGrid">
  15. <TextBlock Height="31" HorizontalAlignment="Left" Margin="45,9,0,0" Name="_msgTitle" Text=" " VerticalAlignment="Top" Width="489" FontFamily="Arial,SimSun" FontSize="20" Foreground="White" />
  16. <Image Height="37" HorizontalAlignment="Left" Margin="3,5,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="37" Source="/MECF.Framework.Common;component/Resources/CustomDialogInformation.png" />
  17. </Grid>
  18. <Grid Grid.Row="1">
  19. <ScrollViewer>
  20. <ScrollViewer.Content>
  21. <Border BorderThickness="0,1" BorderBrush="Gray">
  22. <TextBlock Grid.Row="1" Height="Auto" HorizontalAlignment="Left" Margin="12,10,0,0" Name="_msgContent" Text=" " VerticalAlignment="Top" Width="450" TextWrapping="Wrap" FontSize="16" FontFamily="Arial,SimSun" />
  23. </Border>
  24. </ScrollViewer.Content>
  25. </ScrollViewer>
  26. </Grid>
  27. <Grid Grid.Row="2" VerticalAlignment="Center">
  28. <Button Content="{DynamicResource GlobalLableButtonContinue}" Height="30" HorizontalAlignment="Left" Margin="187,2,0,0" Name="buttonContinue" VerticalAlignment="Top" Width="111" FontSize="18" FontFamily="Arial,SimSun" IsDefault="True" IsCancel="True" Click="buttonContinue_Click" />
  29. <Button Content="{DynamicResource GlobalLableButtonAbort}" Height="30" HorizontalAlignment="Left" Margin="337,2,0,0" Name="buttonAbort" VerticalAlignment="Top" Width="111" FontSize="18" FontFamily="Arial,SimSun" IsDefault="True" IsCancel="True" Click="buttonAbort_Click" />
  30. </Grid>
  31. </Grid>
  32. </Window>