<Window x:Name="Page" x:Class="Esoft.Pages.Authorization"
      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" 
      Height="445" Width="720"
        ResizeMode="NoResize"
      
                  Title="Авторизация в Esoft" Background="#FFDBBCED">

    <Grid x:Name="grid" Cursor="">

        <Label Style="{StaticResource LabelStyle}" Margin="264,106,192,0" VerticalAlignment="Top" Height="37" BorderBrush="#FF25AFD2" Content="АВТОРИЗАЦИЯ" FontSize="40">
            <Label.OpacityMask>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black"/>
                    <GradientStop Color="#FF223DAB" Offset="1"/>
                </LinearGradientBrush>
            </Label.OpacityMask>
            <Label.Foreground>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black"/>
                    <GradientStop Color="#FF2B8FFF" Offset="1"/>
                </LinearGradientBrush>
            </Label.Foreground>
        </Label>

        <Image Source="/Resources/logo.png" Width="160" Height="60" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="25,10,10,25"/>

        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="10,80,10,10">
            <StackPanel Orientation="Vertical">
                <TextBox Name="TBoxLogin" Tag="Логин" Style="{DynamicResource TextBoxStyle}" Background="#FFAEDAFD"/>
                <Separator Height="15" Visibility="Hidden"/>
                <TextBox Name="TBoxPassword" Tag="Пароль" Style="{DynamicResource TextBoxStyle}" Background="#FFAEDBFF"/>
            </StackPanel>
            <Separator Height="15" Visibility="Hidden"/>
            <StackPanel>
                <Button Name="BtnLogin" Content="Войти" Style="{DynamicResource AuthoButtons}" Click="BtnLogin_Click" Foreground="#FF1414A9" Background="#FFC356ED"/>
            </StackPanel>

        </StackPanel>
    </Grid>
</Window>
