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

    <StackPanel>
        <TextBlock>Добро пожаловать в Не навреди!<LineBreak/>Пожалуйста, авторизуйтесь</TextBlock>
        
        <Label>Логин</Label>
        <TextBox x:Name="LoginTextBox"></TextBox>

        <Label>Пароль</Label>
        <PasswordBox x:Name="PasswordPasswordBox"/>
        <TextBox Visibility="Collapsed" x:Name="ShowPasswordTextBox"></TextBox>
        <Button x:Name="TogglePasswordButton" PreviewMouseDown="TogglePasswordButton_MouseDown" PreviewMouseUp="TogglePasswordButton_MouseUp">Показать пароль</Button>
        
        <Button x:Name="AuthorizeButton" Click="AuthorizeButton_Click">Вход</Button>
    </StackPanel>
</Page>
