|
- <Window x:Class="BeDesignerSCADA.View.MyMessageBox"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:BeDesignerSCADA.View"
- x:Name="frmMessageBox"
- WindowState="Normal"
- WindowStyle="None"
- WindowStartupLocation="CenterScreen"
- Title="提示" Height="150" Width="393">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="19"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid Grid.Row="0" Grid.ColumnSpan="2">
- <TextBlock Margin="10,0,0,0" FontSize="18" FontFamily="宋体" VerticalAlignment="Center" HorizontalAlignment="Left">提示</TextBlock>
- <Image Margin="0,0,10,0" VerticalAlignment="Center" HorizontalAlignment="Right" Source="../Images/报错.png" Cursor="Hand" MouseLeftButtonDown="Image_MouseLeftButtonDown"></Image>
- </Grid>
-
- <Image Grid.Row="1" x:Name="picICO" Width="70" Height="70" HorizontalAlignment="Center" VerticalAlignment="Center" Source="../Images/bj.png" Stretch="Fill"></Image>
- <Grid Grid.Column="1" Grid.Row="1" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="224*"/>
- <ColumnDefinition Width="69*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="50"/>
- </Grid.RowDefinitions>
- <Border Padding="10" Grid.ColumnSpan="2">
- <TextBlock x:Name="labInfo" Grid.Row="0" Text="确定要删除数据吗?" FontSize="18" FontFamily="宋体" TextWrapping="Wrap" HorizontalAlignment="Left" VerticalAlignment="Center"></TextBlock>
- </Border>
- <Grid Grid.Row="1" Grid.ColumnSpan="2">
- <StackPanel x:Name="panel2" Orientation="Horizontal">
- <Button x:Name="btnYes" Cursor="Hand" Width="110" Height="31" Content="是(Y)" HorizontalAlignment="Left" VerticalAlignment="Top" ></Button>
- <Button x:Name="btnNo" Cursor="Hand" Width="110" Margin="30,0,0,0" Height="31" Content="否(N)" HorizontalAlignment="Left" VerticalAlignment="Top"></Button>
- </StackPanel>
- <StackPanel x:Name="panel1" Orientation="Horizontal" Visibility="Collapsed">
- <Button x:Name="btnOk" Cursor="Hand" Width="250" Height="31" Content="确定(O)" HorizontalAlignment="Left" VerticalAlignment="Top" ></Button>
- </StackPanel>
- </Grid>
- </Grid>
- </Grid>
- </Window>
|