<Page x:Class="WPF01.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:WPF01.pages"
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="Авторизация" Width="250" Height="250">

    <Grid Margin="0" >

        <TextBox x:Name="textBoxLogin" Margin="25,50,25,0" TextWrapping="Wrap" Width="200" Height="30" VerticalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Top" Visibility="Visible" BorderThickness="10,1,1,1" KeyDown="TextBoxInput"/>
        <PasswordBox x:Name="textBoxPassword" Margin="25,111,25,0" Width="200" Height="30" VerticalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Top" Visibility="Visible" BorderThickness="10,1,1,1" PasswordChar="♦" KeyDown="TextBoxInput"/>
        <Button x:Name="buttonLogin" Content="Вход" HorizontalAlignment="Center" Margin="25,166,25,0" VerticalAlignment="Top" Width="200" Height="30" IsEnabled="False" Visibility="Visible" BorderThickness="1" Click="ButtonClick" />
        <Label Content="Логин:" HorizontalAlignment="Center" Margin="25,24,25,0" VerticalAlignment="Top" Width="200"/>
        <Label Content="Пароль:" HorizontalAlignment="Center" Margin="25,85,25,0" VerticalAlignment="Top" Width="200"/>
        <Label Content="Регистрация" HorizontalAlignment="Center" Margin="25,214,25,0" VerticalAlignment="Top" Width="200" HorizontalContentAlignment="Center" Foreground="Black" Cursor="Hand" MouseUp="Label_MouseUp"/>
    </Grid>

</Page>
