NotificationDialog.xaml 2.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <Window x:Class="Aitex.Core.UI.Dialog.NotificationDialog"
  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 GlobalLableMsgboxTitle}" Height="266" Width="495" ShowInTaskbar="False" Topmost="True"
  6. WindowStartupLocation="CenterOwner" WindowStyle="ToolWindow" ResizeMode="NoResize" FontFamily="Arial,SimSun"
  7. >
  8. <Grid>
  9. <Grid.RowDefinitions>
  10. <RowDefinition Height="46" />
  11. <RowDefinition Height="150" />
  12. <RowDefinition />
  13. </Grid.RowDefinitions>
  14. <Grid Background="DodgerBlue" Name="topGrid">
  15. <TextBlock Height="31" HorizontalAlignment="Left" Margin="45,9,0,0" Name="_msgTitle" Text=" " VerticalAlignment="Top" Width="437" FontFamily="Arial,SimSun" FontSize="22" 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">
  28. <Button Content="OK" Height="30" HorizontalAlignment="Left" Margin="355,4,0,0" Name="buttonOK" VerticalAlignment="Top" Width="111" FontSize="18" FontFamily="Arial,SimSun" Click="buttonOK_Click" IsDefault="True" IsCancel="True" />
  29. <Label Content="00:00:00" Height="35" HorizontalAlignment="Left" Margin="12,3,0,0" Name="labelElapsedTime" VerticalAlignment="Top" Width="181" FontSize="18" Foreground="Goldenrod" />
  30. </Grid>
  31. </Grid>
  32. </Window>