<Page x:Class="WPF01.pages.Registration"
      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="420" d:DesignWidth="200"
      Title="Registration" Loaded="Page_Loaded">

    <Grid>
        <StackPanel HorizontalAlignment="Left" Margin="10,10,0,0" Width="180" Height="400" VerticalAlignment="Top">
            <Label Content="Логин" FontFamily="Tahoma"/>
            <TextBox x:Name="loginTextBox" Height="23" TabIndex="1"/>
            <Label Content="Пароль"/>
            <PasswordBox x:Name="passwordBox" Height="23" TabIndex="3"/>
            <Label Content="Фамилия"/>
            <TextBox x:Name="firstnameTextBox" Height="23" TabIndex="2"/>
            <Label Content="Имя"/>
            <TextBox x:Name="lastnameTextBox" Height="23"/>
            <Label Content="Отчество"/>
            <TextBox x:Name="patronymicTextBox" Height="23"/>
            <Label Content="Телефон"/>
            <TextBox x:Name="phoneTextBox" Height="23"/>
            <Label Content="Роль"/>
            <ComboBox x:Name="roleList"/>
            <Button Content="Зарегистрироваться" Margin="0,26,0,0" Click="Button_Click"/>
        </StackPanel>
    </Grid>
</Page>
