<Page x:Class="UP_Session1_Belov.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:UP_Session1_Belov.Pages"
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="LoginPage">

    <Grid>
        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
            <TextBlock Text="Вход" FontSize="24" HorizontalAlignment="Center"/>

            <TextBlock Text="Введите логин:" FontSize="16" Margin="0 20 0 0"/>
            <TextBox x:Name="loginText" Width="250" FontSize="16"/>

            <TextBlock Text="Введите пароль:" FontSize="16" Margin="0 20 0 0"/>
            <PasswordBox x:Name="passwordText" Width="250" FontSize="16"/>

            <Button x:Name="LogIn" Content="Войти" FontSize="16" Margin="0 20 0 0" Click="LogIn_Click"/>

            <Button x:Name="EnterLikeGuest" Content="Войти как гость" Margin="0 20 0 0" FontSize="16" Click="EnterLikeGuest_Click"/>
        </StackPanel>
    </Grid>
</Page>
