<Window x:Class="XHandler.View.PlsLookWin"
|
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"
|
xmlns:ctrls="clr-namespace:XHandler.Controls"
|
xmlns:str="clr-namespace:XHandler.Properties"
|
mc:Ignorable="d"
|
Title="PlsLookWin" Height="450" Width="800" WindowStyle="None" AllowsTransparency="True" ResizeMode="NoResize" Background="#00FFFFFF">
|
<Grid>
|
<Grid.RowDefinitions>
|
<RowDefinition Height="*"/>
|
<RowDefinition Height="auto"/>
|
<RowDefinition Height="*"/>
|
</Grid.RowDefinitions>
|
<Grid.ColumnDefinitions>
|
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="auto"/>
|
<ColumnDefinition Width="*"/>
|
</Grid.ColumnDefinitions>
|
<Grid Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Width="400" Height="220">
|
<Grid.RowDefinitions>
|
<RowDefinition Height="50"/>
|
<RowDefinition Height="30"/>
|
<RowDefinition Height="*"/>
|
</Grid.RowDefinitions>
|
<Border Grid.Row="0" Background="{DynamicResource blueBrush}" CornerRadius="10 10 0 0" BorderThickness="0">
|
<Grid>
|
<TextBlock x:Name="tbxTitle" Text="{x:Static str:Resources.strLookWinTitle}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="20 0" FontSize="20"
|
Foreground="White" FontWeight="Bold" />
|
</Grid>
|
</Border>
|
<Border Grid.Row="1" Background="White" BorderThickness="2,0,2,0" BorderBrush="{DynamicResource blueBrush}">
|
<Grid>
|
<TextBlock Grid.Row="1" Grid.Column="2" x:Name="tbError" Text="" Foreground="Red" FontSize="16"
|
VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20 20 5 0"/>
|
</Grid>
|
</Border>
|
|
<Border Grid.Row="2" Background="White" CornerRadius="0 0 10 10" BorderThickness="2,0,2,2" BorderBrush="{DynamicResource blueBrush}">
|
<Grid>
|
<Grid.RowDefinitions>
|
<RowDefinition Height="*"/>
|
<RowDefinition Height="60"/>
|
</Grid.RowDefinitions>
|
<Grid Grid.Row="0">
|
<Grid.ColumnDefinitions>
|
<ColumnDefinition Width="100"/>
|
<ColumnDefinition Width="*"/>
|
</Grid.ColumnDefinitions>
|
<TextBox x:Name="textblockText" Grid.Column="0" VerticalAlignment="Center" Text="{x:Static str:Resources.strLookPwd}" HorizontalAlignment="Center" Margin="0 0 0 0" FontSize="16"/>
|
<PasswordBox x:Name="textblockMsg" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Left" Background="{DynamicResource lightGrayBrush}"
|
BorderThickness="0" Margin="0 0 0 0" FontSize="32" Width="250" Height="40" />
|
</Grid>
|
<Grid Grid.Row="1">
|
<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}" Visibility="Hidden"/>
|
<Button x:Name="btnRetry" Grid.Column="1" Content="{x:Static str:Resources.btnOK}" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20 0" FontSize="16" Width="80" Height="40"
|
Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" Click="btnRetry_Click"/>
|
|
</Grid>
|
|
</Grid>
|
</Border>
|
</Grid>
|
</Grid>
|
</Window>
|