<Page x:Class="esoft.Pages.LoginPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:esoft.Pages"
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="Вход в ситему">

    <Grid>

        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Width="500" Height="250" Background="White">

            <Separator Height="50" Background="{x:Null}"/>

            <StackPanel Orientation="Horizontal" Width="415">
                <TextBlock Style="{StaticResource BlockCommon}" Text="Логин:" FontSize="30" FontWeight="Bold"/>
                <Separator Width="31" Background="{x:Null}"/>
                <TextBox x:Name="TBoxLogin" Width="270" Height="30" FontSize="25" BorderBrush="Gray">
                    <TextBox.Resources>
                        <Style TargetType="{x:Type Border}">
                            <Setter Property="CornerRadius" Value="12"/>
                        </Style>
                    </TextBox.Resources>
                </TextBox>
            </StackPanel>

            <Separator Height="10" Background="{x:Null}"/>

            <StackPanel Orientation="Horizontal" Width="415">
                <TextBlock Style="{StaticResource BlockCommon}" Text="Пароль:" FontSize="30" FontWeight="Bold"/>
                <Separator Width="10" Background="{x:Null}"/>
                <Border CornerRadius="12" BorderBrush="Gray" BorderThickness="1" Width="270" Height="30">
                    <PasswordBox x:Name="PBoxPassword" Width="250" Height="28" FontSize="25" BorderBrush="{x:Null}"/>
                </Border>
            </StackPanel>

            <Separator Height="15" Background="{x:Null}"/>

            <Button x:Name="BtnLogin" Content="Войти" HorizontalAlignment="Center" Width="250" Height="40" Style="{StaticResource ServiceButtons}" Click="BtnLogin_Click">
                <Button.Resources>
                    <Style TargetType="Border">
                        <Setter Property="CornerRadius" Value="10"/>
                    </Style>
                </Button.Resources>
            </Button>
            
        </StackPanel>

    </Grid>
</Page>
