You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
2.7 KiB
XML

<Window x:Class="XGL.Views.CheckUserWin"
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:XGL.Views"
mc:Ignorable="d"
Title="CheckUserWin" Height="350" Width="600" WindowStartupLocation="CenterScreen" WindowStyle="None">
<Grid>
<Grid.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="AliceBlue"></GradientStop>
<GradientStop Color="#FF2281D1" Offset="1"></GradientStop>
<GradientStop Color="AliceBlue" Offset="0.5"></GradientStop>
</LinearGradientBrush>
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Label x:Name="lbTitle" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="24" Content="校验用户"></Label>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" Grid.Row="1">
<Label x:Name="lbUser" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="24" Content="用户名:"></Label>
<TextBox x:Name="txtUserID" Width="260" Height="50" TextChanged="txtUserID_TextChanged" VerticalContentAlignment="Center"></TextBox>
</StackPanel>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" Grid.Row="2">
<Label x:Name="lbPW" Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="24" Content="密 码:"></Label>
<PasswordBox x:Name="pw" Width="260" Height="50" PasswordChanged="pw_PasswordChanged" VerticalContentAlignment="Center"></PasswordBox>
</StackPanel>
<Label x:Name="tbMsg" Width="500" Height="60" Grid.Row="3" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" FontSize="18" Foreground="Red" FontWeight="Bold"></Label>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" Grid.Row="4">
<Button x:Name="btnCancel" Width="120" Height="50" Content="取消" Margin="10" FontWeight="Bold" Click="btnCancel_Click"/>
<Button x:Name="btnOK" Width="120" Height="50" Content="确定" Margin="10" Background="#2F82E7" Foreground="White" FontWeight="Bold" Click="btnOK_Click"/>
</StackPanel>
</Grid>
</Window>