<Window x:Class="mateo.First"
        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:mateo"
        mc:Ignorable="d"
        Title="First" Height="450" Width="800" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None" AllowsTransparency="True" Background="Transparent">
    <Grid Background="White">
        <!--<Border Background="White" CornerRadius="20"/>-->
        <Button x:Name="exit" Height="40" Width="40" Background="Transparent" BorderThickness="0" Click="btn_exit" Margin="750,10,10,400">
            <Image Source="image\exit.png" Height="40" Width="40"/>
        </Button>


        <Grid  Background="#E74C32" Margin="0,0,405,-0.4">
            <Image Source="image/logo.png" Margin="44,247,77,0"/>
        </Grid>

        <Grid x:Name="grid_vhod" Margin="400,0,0,-0.4" Visibility="Visible">
            <TextBox x:Name="vvod_login" FontSize="18"
                 BorderThickness="0 0 0 2" BorderBrush="Black" MaxLength="20" Margin="64,162,63,259"/>
            <PasswordBox x:Name="vvod_pass" FontSize="18"
                     BorderThickness="0 0 0 2" BorderBrush="Black" MaxLength="20" Margin="64,226,63,198"/>
            <Button x:Name="vhod" Content="Войти" Background="Black" Foreground="White" FontSize="18" Click="btn_vhod" Margin="123,293,123,104" IsDefault="True"/>
            <Button x:Name="registr" Content="Нет аккаунта? Зарегистрироваться" Background="Transparent" FontSize="18" BorderThickness="0" Click="btn_registr" Margin="48,351,48,70"/>
        </Grid>

        <Grid x:Name="grid_registr" Margin="400,0,0,-0.4" Visibility="Hidden">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0*"/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <TextBox  x:Name="vvod_LNAME" Text="ФАМИЛИЯ" FontSize="18"
                 BorderThickness="0 0 0 2" BorderBrush="Black" MaxLength="20" Margin="64,90,63,330" Grid.ColumnSpan="2"/>
            <TextBox  x:Name="vvod_FNAME" Text="ИМЯ" FontSize="18"
                 BorderThickness="0 0 0 2" BorderBrush="Black" MaxLength="20" Margin="64,134,63,286" Grid.ColumnSpan="2"/>
            <TextBox  x:Name="vvod_MNAME" Text="ОТЧЕСТВО" FontSize="18"
                 BorderThickness="0 0 0 2" BorderBrush="Black" MaxLength="20" Margin="64,178,63,242" Grid.ColumnSpan="2"/>
            <TextBox x:Name="vvod_login_reg" Text="login" FontSize="18"
                 BorderThickness="0 0 0 2" BorderBrush="Black" MaxLength="20" Margin="64,222,63,198" Grid.ColumnSpan="2"/>
            <PasswordBox x:Name="vvod_pass_reg" FontSize="18"
                     BorderThickness="0 0 0 2" BorderBrush="Black" MaxLength="20" Margin="64,266,63,154" Grid.ColumnSpan="2"/>
            <Button x:Name="registr2" Content="Зарегистрироваться" Background="Black" Foreground="White" FontSize="18" Click="btn_regist2" Margin="101,333,102,64" Grid.ColumnSpan="2"/>
        </Grid>
    </Grid>
</Window>
