<Window x:Class="CatProject.WindowAuto"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:CatProject"
        mc:Ignorable="d"
        FontSize="16"
        Title="WindowAuto" Height="250" Width="300" MinHeight="250" MinWidth="300">
    <Grid>
        <StackPanel>
            <GroupBox Header="Введите логин">
                <TextBox Name ="TBLogin">admin</TextBox>
            </GroupBox>
            <GroupBox Header="Введите пароль">
                <PasswordBox Name="TBPassword" Password="admin"></PasswordBox>
            </GroupBox>
            <Button HorizontalAlignment="Center" Click="Button_Click">Авторизация</Button>
        </StackPanel>
    </Grid>
</Window>
