<Window xmlns:hc="https://handyorg.github.io/handycontrol"  x:Class="智慧物流软件系统.UserLoginView"
        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:智慧物流软件系统"
        mc:Ignorable="d"
        Title="登录" Height="440" Width="400" ResizeMode="NoResize" FontSize="18" 
        PreviewKeyDown="Window_PreviewKeyDown" Icon="/Resources/Logo.ico" WindowStartupLocation="CenterScreen" Loaded="load">
    <Grid Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="130"/>
            <RowDefinition Height="80"/>
            <RowDefinition Height="80"/>
            <RowDefinition Height="80"/>
        </Grid.RowDefinitions>
        <StackPanel x:Name="StackPanelInfo" Orientation="Horizontal">
            <Image Margin="60,15,10,15" HorizontalAlignment="Left" Width="80" Height="80" Source="/Resources/Logo.png"></Image>
            <!--盟讯-->
            <TextBlock Margin="0,30" Text="{StaticResource AboutInfo1}" FontSize="28" FontFamily="YouYuan" Foreground="SteelBlue" FontWeight="UltraBold"></TextBlock>
            <TextBlock Margin="-58,30" Text="{StaticResource AboutInfo2}" FontSize="28" FontFamily="YouYuan" VerticalAlignment="Bottom" Foreground="SteelBlue" FontWeight="UltraBold"></TextBlock>
        </StackPanel>
        <ComboBox x:Name="ComboBoxId" Grid.Row="1" Margin="20,10" Height="50" Width="220" Text="admin" IsEditable="True" hc:InfoElement.Placeholder="输入账号" Style="{StaticResource ComboBoxExtend}" hc:InfoElement.ContentHeight="50"></ComboBox>
        <PasswordBox x:Name="PasswordBoxPass" Grid.Row="2" Height="50" Width="220" Margin="20,10" hc:InfoElement.Placeholder="输入密码" Style="{StaticResource PasswordBoxExtend}"></PasswordBox>
        <Button Background="SteelBlue" Content="登录"  Width="220" Foreground="WhiteSmoke" FontSize="22" Height="55" Grid.Row="3" HorizontalAlignment="Stretch" Click="Button_Click"></Button>
    </Grid>
</Window>
