<Window x:Class="XHandler.View.MethodProperty.PlsToolTipWin"
|
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:XHandler.View.MethodProperty"
|
xmlns:str="clr-namespace:XHandler.Properties"
|
mc:Ignorable="d" WindowStartupLocation = "CenterOwner"
|
Title="提示" Width="520" Height="200" WindowStyle="None" AllowsTransparency="True" ResizeMode="NoResize" Background="#00FFFFFF"
|
PreviewKeyDown="Window_PreviewKeyDown">
|
|
<Grid MouseDown="Grid_MouseDown">
|
<Grid HorizontalAlignment="Center" VerticalAlignment="Center" Width="520" Height="200">
|
<Grid.RowDefinitions>
|
<RowDefinition Height="40"/>
|
<RowDefinition Height="*"/>
|
</Grid.RowDefinitions>
|
<Border Grid.Row="0" Background="{DynamicResource blueBrush}" CornerRadius="10 10 0 0" BorderThickness="0">
|
<Grid MouseDown="Grid_MouseDown">
|
<TextBlock Text="{x:Static str:Resources.strTips}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="20 0" FontSize="20"
|
Foreground="White" FontWeight="Bold"/>
|
<Button x:Name="btnClose" Content="×" HorizontalAlignment="Right" VerticalAlignment="Center" VerticalContentAlignment="Center" Margin="10 0" FontSize="28" Width="40" Height="40"
|
FontWeight="Bold" Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" Click="btnClose_Click"/>
|
</Grid>
|
</Border>
|
|
<Border Grid.Row="1" Background="White" CornerRadius="0 0 10 10" BorderThickness="2" BorderBrush="{DynamicResource blueBrush}">
|
<Grid>
|
<Grid.RowDefinitions>
|
<RowDefinition Height="30"/>
|
<RowDefinition Height="*"/>
|
<RowDefinition Height="60"/>
|
</Grid.RowDefinitions>
|
<Button x:Name="btnClearData" Grid.Row="0" Content="{x:Static str:Resources.strClearUsedTips}" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0 0" FontSize="16" Width="480" Height="40"
|
Foreground="Blue" Background="#00FFFFFF" BorderThickness="0" Click="btnClearData_Click" Visibility="Hidden"/>
|
<TextBlock x:Name="textblockMsg" Grid.Row="1" VerticalAlignment="Center" TextWrapping="Wrap" HorizontalAlignment="Center" Margin="0 0 0 0" FontSize="16" />
|
<Grid Grid.Row="2">
|
<Grid.ColumnDefinitions>
|
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="*"/>
|
</Grid.ColumnDefinitions>
|
<Button x:Name="btnCancel" Grid.Column="0" Content="{x:Static str:Resources.btnCancel}" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="20 0" FontSize="16" Width="80" Height="40"
|
Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" Click="btnCancel_Click"/>
|
<Button x:Name="btnOK" Grid.Column="1" Content="{x:Static str:Resources.btnOK}" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="20 0" FontSize="16" Width="80" Height="40"
|
Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" Click="btnOK_Click"/>
|
|
</Grid>
|
|
</Grid>
|
</Border>
|
</Grid>
|
</Grid>
|
</Window>
|