Registration.xaml 1.5 KB

123456789101112131415161718192021222324252627282930
  1. <Page x:Class="WPF01.pages.Registration"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:WPF01.pages"
  7. mc:Ignorable="d"
  8. d:DesignHeight="420" d:DesignWidth="200"
  9. Title="Registration" Loaded="Page_Loaded">
  10. <Grid>
  11. <StackPanel HorizontalAlignment="Left" Margin="10,10,0,0" Width="180" Height="400" VerticalAlignment="Top">
  12. <Label Content="Логин" FontFamily="Tahoma"/>
  13. <TextBox x:Name="loginTextBox" Height="23" TabIndex="1"/>
  14. <Label Content="Пароль"/>
  15. <PasswordBox x:Name="passwordBox" Height="23" TabIndex="3"/>
  16. <Label Content="Фамилия"/>
  17. <TextBox x:Name="firstnameTextBox" Height="23" TabIndex="2"/>
  18. <Label Content="Имя"/>
  19. <TextBox x:Name="lastnameTextBox" Height="23"/>
  20. <Label Content="Отчество"/>
  21. <TextBox x:Name="patronymicTextBox" Height="23"/>
  22. <Label Content="Телефон"/>
  23. <TextBox x:Name="phoneTextBox" Height="23"/>
  24. <Label Content="Роль"/>
  25. <ComboBox x:Name="roleList"/>
  26. <Button Content="Зарегистрироваться" Margin="0,26,0,0" Click="Button_Click"/>
  27. </StackPanel>
  28. </Grid>
  29. </Page>