<UserControl
    x:Class="WorkStation.Client.Views.Dialogs.LoginView"
    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:local="clr-namespace:WorkStation.Client.Views.Dialogs"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Width="800"
    Height="450"
    mc:Ignorable="d">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1.5*" />
            <ColumnDefinition Width="1*" />
        </Grid.ColumnDefinitions>
        <Image
            Grid.Column="0"
            Margin="10"
            Source="/Images/LoginImage.png" />
        <StackPanel
            Grid.Column="1"
            HorizontalAlignment="Center"
            VerticalAlignment="Center">
            <TextBlock
                HorizontalAlignment="Center"
                FontSize="50"
                Text="登录" />
            <TextBlock
                FontSize="20"
                Text="账号" />
            <TextBox
                Width="200"
                Margin="5"
                Text="{Binding Account}" />
            <TextBlock
                FontSize="20"
                Text="密码" />
            <TextBox
                Width="200"
                Margin="5"
                Text="{Binding Password}" />
            <Button
                Command="{Binding LoginCommand}"
                Content="登录" />
        </StackPanel>
    </Grid>
</UserControl>
