<Window x:Class="Work29.RegWindow"
        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:Work29"
        mc:Ignorable="d"
        Title="Регистрация" MinHeight="350" MinWidth="700" Height="350" Width="700" MaxHeight="450" MaxWidth="800">
    <Grid Background="Black">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Label Content="Введите Вашу Фамилию: " Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center" Foreground="White" FontSize="18" VerticalAlignment="Center"/>
        <TextBox Name="textBox_SurnameNewUser" Text="{Binding User.Surname}" Foreground="Black" Grid.Column="0" Grid.Row="0" Height="25" FontSize="18" VerticalAlignment="Bottom" HorizontalAlignment="Center" Width="200"/>
        <Label Content="Введите Ваше Имя: " Grid.Row="1" Grid.Column="0" HorizontalAlignment="Center" Foreground="White" FontSize="18" VerticalAlignment="Center"/>
        <TextBox Name="textBox_NameNewUser" Text="{Binding User.Name}" Foreground="Black" Grid.Column="0" Grid.Row="1" Height="25" FontSize="18" VerticalAlignment="Bottom" HorizontalAlignment="Center" Width="200"/>
        <Label Content="Введите Ваше Отчество: " Grid.Row="2" Grid.Column="0" HorizontalAlignment="Center" Foreground="White" FontSize="18" VerticalAlignment="Center"/>
        <TextBox Name="textBox_PatronymicNewUser" Text="{Binding User.Patronymic}" Foreground="Black" Grid.Column="0" Grid.Row="2" Height="25" FontSize="18" VerticalAlignment="Bottom" HorizontalAlignment="Center" Width="200"/>
        <Label Content="Введите Ваш Логин: " Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" Foreground="White" FontSize="18" VerticalAlignment="Center"/>
        <TextBox Name="textBox_LoginNewUser"  Text="{Binding User.Login}" Foreground="Black" Grid.Column="1" Grid.Row="0" Height="25" FontSize="18" VerticalAlignment="Bottom" HorizontalAlignment="Center" Width="200"/>
        <Label Content="Введите Ваш Пароль: " Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" Foreground="White" FontSize="18" VerticalAlignment="Center"/>
        <TextBox Name="textBox_PasswordNewUser" Text="{Binding User.Password}" Foreground="Black" Grid.Column="1" Grid.Row="1" Height="25" FontSize="18" VerticalAlignment="Bottom" HorizontalAlignment="Center" Width="200"/>
        <Label Content="Введите Ваш Номер телефона: " Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" Foreground="White" FontSize="18" VerticalAlignment="Center"/>
        <TextBox Name="textBox_PhoneNewUser" Text="{Binding User.Phone}" Foreground="Black" Grid.Column="1" Grid.Row="2" Height="25" FontSize="18" VerticalAlignment="Bottom" HorizontalAlignment="Center" Width="200"/>
        <Button x:Name="button_CreateUser" Command="{Binding CreateUser}" Grid.Column="1" Grid.Row="3" Content="Готово" FontSize="18" Foreground="Black" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150"/>
    </Grid>
</Window>
