Reg.xaml 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <Page x:Class="Детский_сад.Reg"
  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:Детский_сад"
  7. mc:Ignorable="d"
  8. MaxHeight="480"
  9. MaxWidth="1000"
  10. d:DesignHeight="630" d:DesignWidth="1250"
  11. Title="Reg">
  12. <Grid>
  13. <Grid.ColumnDefinitions>
  14. <ColumnDefinition/>
  15. <ColumnDefinition/>
  16. <ColumnDefinition/>
  17. </Grid.ColumnDefinitions>
  18. <Grid.RowDefinitions>
  19. <RowDefinition Height="5*"/>
  20. <RowDefinition Height="65"/>
  21. </Grid.RowDefinitions>
  22. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
  23. <StackPanel Style="{StaticResource spAvtorReg}">
  24. <TextBlock Text="Фамилия" Style="{StaticResource tbAvtorReg}"/>
  25. <TextBox Name="tboxSurname" Style="{StaticResource tboxReg}"/>
  26. </StackPanel>
  27. <StackPanel Style="{StaticResource spAvtorReg}">
  28. <TextBlock Text="Имя" Style="{StaticResource tbAvtorReg}"/>
  29. <TextBox Name="tboxName" Style="{StaticResource tboxReg}"/>
  30. </StackPanel>
  31. <StackPanel Style="{StaticResource spAvtorReg}">
  32. <TextBlock Text="Отчество" Style="{StaticResource tbAvtorReg}"/>
  33. <TextBox Name="tboxPatronymic" Style="{StaticResource tboxReg}"/>
  34. </StackPanel>
  35. <StackPanel Style="{StaticResource spAvtorReg}">
  36. <TextBlock Text="Дата рождения" Style="{StaticResource tbAvtorReg}"/>
  37. <DatePicker Name="dpBirthdate" Style="{StaticResource dpReg}"/>
  38. </StackPanel>
  39. <StackPanel Style="{StaticResource spAvtorReg}">
  40. <TextBlock Text="Пол" Style="{StaticResource tbAvtorReg}"/>
  41. <ComboBox Name="cbGender" Style="{StaticResource cbReg}"/>
  42. </StackPanel>
  43. </StackPanel>
  44. <StackPanel Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
  45. <StackPanel Style="{StaticResource spAvtorReg}">
  46. <TextBlock Text="Должность" Style="{StaticResource tbAvtorReg}" HorizontalAlignment="Center"/>
  47. <ComboBox Name="cbPositions" Style="{StaticResource cbReg}" Width="250" HorizontalContentAlignment="Center"/>
  48. </StackPanel>
  49. </StackPanel>
  50. <StackPanel Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center">
  51. <StackPanel Style="{StaticResource spAvtorReg}">
  52. <TextBlock Text="Улица" Style="{StaticResource tbAvtorReg}"/>
  53. <TextBox Name="tboxStreet" Style="{StaticResource tboxReg}"/>
  54. </StackPanel>
  55. <StackPanel Style="{StaticResource spAvtorReg}">
  56. <TextBlock Text="Строение" Style="{StaticResource tbAvtorReg}"/>
  57. <TextBox Name="tboxBuilding" Style="{StaticResource tboxReg}"/>
  58. </StackPanel>
  59. <StackPanel Style="{StaticResource spAvtorReg}">
  60. <TextBlock Text="Телефон" Style="{StaticResource tbAvtorReg}"/>
  61. <TextBox Name="tboxPhone" Style="{StaticResource tboxReg}"/>
  62. </StackPanel>
  63. <StackPanel Style="{StaticResource spAvtorReg}">
  64. <TextBlock Text="Логин" Style="{StaticResource tbAvtorReg}"/>
  65. <TextBox Name="tboxLogin" Style="{StaticResource tboxReg}"/>
  66. </StackPanel>
  67. <StackPanel Style="{StaticResource spAvtorReg}">
  68. <TextBlock Text="Пароль" Style="{StaticResource tbAvtorReg}"/>
  69. <TextBox Name="tboxPassword" Style="{StaticResource tboxReg}"/>
  70. </StackPanel>
  71. </StackPanel>
  72. <Button Name="btnReg" Content="Зарегистрироваться" Grid.Row="1" Grid.ColumnSpan="3" Template="{StaticResource btnTemplate}" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="10" Click="btnReg_Click"/>
  73. </Grid>
  74. </Page>