<Page x:Class="WPF01.pages.UserInfo"
      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:WPF01.pages"
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="400"
      Title="UserInfo"
      Loaded="Page_Loaded"
      >

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="5*"/>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="2*"/>
            <ColumnDefinition Width="4*"/>
            <ColumnDefinition Width="1*"/>
            <ColumnDefinition Width="4*"/>
            <ColumnDefinition Width="2*"/>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Column="1" HorizontalAlignment="Left" Height="168" Margin="10,10,0,0" Grid.Row="1" VerticalAlignment="Top" Width="103">
            <Label Content="Логин"/>
            <Label Content="Label" Height="23" x:Name="loginLabel" />
            <Label Content="Пароль"/>
            <PasswordBox Height="24" x:Name="passwordBox"/>
            <Label Content="Телефон"/>
            <TextBox Height="23" x:Name="phoneTextBox"/>
        </StackPanel>
        <StackPanel Grid.Column="3" HorizontalAlignment="Left" Height="168" Margin="10,10,0,0" Grid.Row="1" VerticalAlignment="Top" Width="103">
            <Label Content="Фамилия"/>
            <TextBox Height="23" x:Name="lastnameTextBox"/>
            <Label Content="Имя"/>
            <TextBox Height="23" x:Name="fistnameTextBox"/>
            <Label Content="Отчество"/>
            <TextBox Height="22" x:Name="patronymicTextBox"/>
        </StackPanel>
        <Button Grid.ColumnSpan="3" Content="Сохранить" Grid.Column="1" HorizontalAlignment="Center" Margin="0" Grid.Row="2" VerticalAlignment="Top" Width="120" Click="Button_Click"/>

    </Grid>
</Page>
