终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

52 lines
2.9 KiB

  1. <Window x:Class="BeDesignerSCADA.View.MyMessageBox"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:BeDesignerSCADA.View"
  7. x:Name="frmMessageBox"
  8. WindowState="Normal"
  9. WindowStyle="None"
  10. WindowStartupLocation="CenterScreen"
  11. Title="提示" Height="150" Width="393">
  12. <Grid>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="19"/>
  15. <RowDefinition/>
  16. </Grid.RowDefinitions>
  17. <Grid.ColumnDefinitions>
  18. <ColumnDefinition Width="100"/>
  19. <ColumnDefinition/>
  20. </Grid.ColumnDefinitions>
  21. <Grid Grid.Row="0" Grid.ColumnSpan="2">
  22. <TextBlock Margin="10,0,0,0" FontSize="18" FontFamily="宋体" VerticalAlignment="Center" HorizontalAlignment="Left">提示</TextBlock>
  23. <Image Margin="0,0,10,0" VerticalAlignment="Center" HorizontalAlignment="Right" Source="../Images/报错.png" Cursor="Hand" MouseLeftButtonDown="Image_MouseLeftButtonDown"></Image>
  24. </Grid>
  25. <Image Grid.Row="1" x:Name="picICO" Width="70" Height="70" HorizontalAlignment="Center" VerticalAlignment="Center" Source="../Images/bj.png" Stretch="Fill"></Image>
  26. <Grid Grid.Column="1" Grid.Row="1" >
  27. <Grid.ColumnDefinitions>
  28. <ColumnDefinition Width="224*"/>
  29. <ColumnDefinition Width="69*"/>
  30. </Grid.ColumnDefinitions>
  31. <Grid.RowDefinitions>
  32. <RowDefinition Height="*"/>
  33. <RowDefinition Height="50"/>
  34. </Grid.RowDefinitions>
  35. <Border Padding="10" Grid.ColumnSpan="2">
  36. <TextBlock x:Name="labInfo" Grid.Row="0" Text="确定要删除数据吗?" FontSize="18" FontFamily="宋体" TextWrapping="Wrap" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
  37. </Border>
  38. <Grid Grid.Row="1" Grid.ColumnSpan="2">
  39. <StackPanel x:Name="panel2" Orientation="Horizontal">
  40. <Button x:Name="btnYes" Cursor="Hand" Width="110" Height="31" Content="是(Y)" HorizontalAlignment="Left" VerticalAlignment="Top" ></Button>
  41. <Button x:Name="btnNo" Cursor="Hand" Width="110" Margin="30,0,0,0" Height="31" Content="否(N)" HorizontalAlignment="Left" VerticalAlignment="Top"></Button>
  42. </StackPanel>
  43. <StackPanel x:Name="panel1" Orientation="Horizontal" Visibility="Collapsed">
  44. <Button x:Name="btnOk" Cursor="Hand" Width="250" Height="31" Content="确定(O)" HorizontalAlignment="Left" VerticalAlignment="Top" ></Button>
  45. </StackPanel>
  46. </Grid>
  47. </Grid>
  48. </Grid>
  49. </Window>