终端一体化运控平台
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

48 Zeilen
2.7 KiB

  1. <Window x:Class="BPASmartClient.SCADAControl.Windows.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:BPASmartClient.SCADAControl.Windows"
  7. mc:Ignorable="d"
  8. x:Name="frmMessageBox"
  9. WindowState="Normal"
  10. WindowStyle="None"
  11. WindowStartupLocation="CenterScreen"
  12. Title="提示" Height="150" Width="393">
  13. <Grid>
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="19"/>
  16. <RowDefinition/>
  17. </Grid.RowDefinitions>
  18. <Grid.ColumnDefinitions>
  19. <ColumnDefinition Width="100"/>
  20. <ColumnDefinition/>
  21. </Grid.ColumnDefinitions>
  22. <Grid Grid.Row="0" Grid.ColumnSpan="2">
  23. <TextBlock Margin="10,0,0,0" FontSize="18" FontFamily="宋体" VerticalAlignment="Center" HorizontalAlignment="Left">提示</TextBlock>
  24. <Image Margin="0,0,10,0" VerticalAlignment="Center" HorizontalAlignment="Right" Source="../Images/报错.png" Cursor="Hand" MouseLeftButtonDown="Image_MouseLeftButtonDown"></Image>
  25. </Grid>
  26. <Image Grid.Row="1" x:Name="picICO" Width="70" Height="70" HorizontalAlignment="Center" VerticalAlignment="Center" Source="../Images/bj.png" Stretch="Fill"></Image>
  27. <Grid Grid.Column="1" Grid.Row="1" >
  28. <Grid.RowDefinitions>
  29. <RowDefinition Height="*"/>
  30. <RowDefinition Height="50"/>
  31. </Grid.RowDefinitions>
  32. <Border Padding="10">
  33. <TextBlock x:Name="labInfo" Grid.Row="0" Text="确定要删除数据吗?" FontSize="18" FontFamily="宋体" TextWrapping="Wrap" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
  34. </Border>
  35. <Grid Grid.Row="1">
  36. <StackPanel x:Name="panel2" Orientation="Horizontal">
  37. <Button x:Name="btnYes" Cursor="Hand" Width="110" Height="31" Content="是(Y)" HorizontalAlignment="Left" VerticalAlignment="Top" ></Button>
  38. <Button x:Name="btnNo" Cursor="Hand" Width="110" Margin="30,0,0,0" Height="31" Content="否(N)" HorizontalAlignment="Left" VerticalAlignment="Top"></Button>
  39. </StackPanel>
  40. <StackPanel x:Name="panel1" Orientation="Horizontal" Visibility="Collapsed">
  41. <Button x:Name="btnOk" Cursor="Hand" Width="250" Height="31" Content="确定(O)" HorizontalAlignment="Left" VerticalAlignment="Top" ></Button>
  42. </StackPanel>
  43. </Grid>
  44. </Grid>
  45. </Grid>
  46. </Window>