NotificationDialogNoDelay.xaml 1.9 KB

123456789101112131415161718192021222324252627282930
  1. <Window x:Class="Aitex.Core.UI.Dialog.NotificationDialogNoDelay"
  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="information" ShowInTaskbar="False" Topmost="True"
  6. WindowStartupLocation="CenterOwner" ResizeMode="NoResize" FontFamily="SimSun" SizeToContent="WidthAndHeight">
  7. <Grid>
  8. <Grid.RowDefinitions>
  9. <RowDefinition Height="45" />
  10. <RowDefinition Height="150" />
  11. <RowDefinition Height="45"/>
  12. </Grid.RowDefinitions>
  13. <Grid Background="DodgerBlue" Name="topGrid">
  14. <TextBlock Height="31" HorizontalAlignment="Left" Margin="45,9,0,0" Name="_msgTitle" Text=" " VerticalAlignment="Top" Width="437" FontFamily="Arial,SimSun" FontSize="22" Foreground="White" />
  15. <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" />
  16. </Grid>
  17. <Grid Grid.Row="1">
  18. <ScrollViewer>
  19. <ScrollViewer.Content>
  20. <Border BorderThickness="0,1" BorderBrush="Gray">
  21. <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" />
  22. </Border>
  23. </ScrollViewer.Content>
  24. </ScrollViewer>
  25. </Grid>
  26. <Grid Grid.Row="2">
  27. <Button Content="{DynamicResource GlobalLableButtonOk}" Height="30" HorizontalAlignment="Left" Margin="355,7,0,0" Name="buttonOK" VerticalAlignment="Top" Width="111" FontSize="18" FontFamily="Arial,SimSun" Click="buttonOK_Click" IsDefault="True" IsCancel="True" />
  28. </Grid>
  29. </Grid>
  30. </Window>