Reg.xaml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <Page x:Class="Penis.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:Penis"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="Reg">
  10. <Grid Background="Lavender">
  11. <Grid.RowDefinitions>
  12. <RowDefinition/>
  13. <RowDefinition/>
  14. <RowDefinition/>
  15. <RowDefinition/>
  16. </Grid.RowDefinitions>
  17. <Grid.ColumnDefinitions>
  18. <ColumnDefinition/>
  19. <ColumnDefinition/>
  20. <ColumnDefinition/>
  21. </Grid.ColumnDefinitions>
  22. <StackPanel Grid.Row="1" Grid.Column="3">
  23. <TextBlock
  24. TextWrapping="Wrap"
  25. HorizontalAlignment="Center" VerticalAlignment="Center"
  26. RenderTransformOrigin="0.602,0.975">
  27. <Run FontSize="25" Foreground="Gray" FontWeight="SemiBold"> Дата рождения</Run>
  28. </TextBlock>
  29. <DatePicker Name="DataR">
  30. </DatePicker>
  31. </StackPanel>
  32. <StackPanel Grid.Row="0" Grid.Column="1">
  33. <TextBlock
  34. TextWrapping="Wrap"
  35. HorizontalAlignment="Center" VerticalAlignment="Center"
  36. RenderTransformOrigin="0.602,0.975">
  37. <Run FontSize="25" Foreground="Gray" FontWeight="Bold">Регистрация</Run>
  38. </TextBlock>
  39. <TextBlock
  40. TextWrapping="Wrap"
  41. HorizontalAlignment="Center" VerticalAlignment="Center"
  42. RenderTransformOrigin="0.602,0.975">
  43. <Run FontSize="25" Foreground="Gray" FontWeight="SemiBold">Логин</Run>
  44. </TextBlock>
  45. <TextBox Name="Login">
  46. </TextBox>
  47. </StackPanel>
  48. <StackPanel Grid.Column="1" Margin="0,112,0,0" Grid.RowSpan="4">
  49. <TextBlock
  50. TextWrapping="Wrap"
  51. HorizontalAlignment="Center" VerticalAlignment="Center"
  52. RenderTransformOrigin="0.602,0.975">
  53. <Run FontSize="25" Foreground="Gray" FontWeight="SemiBold">Пароль</Run>
  54. </TextBlock>
  55. <PasswordBox Name="Pass">
  56. </PasswordBox>
  57. <TextBlock
  58. TextWrapping="Wrap"
  59. HorizontalAlignment="Center" VerticalAlignment="Center"
  60. RenderTransformOrigin="0.602,0.975">
  61. <Run FontSize="25" Foreground="Gray" FontWeight="SemiBold">Имя</Run>
  62. </TextBlock>
  63. <TextBox Name="Name">
  64. </TextBox>
  65. <TextBlock
  66. TextWrapping="Wrap"
  67. HorizontalAlignment="Center" VerticalAlignment="Center"
  68. RenderTransformOrigin="0.602,0.975">
  69. <Run FontSize="25" Foreground="Gray" FontWeight="SemiBold">Фамилия</Run>
  70. </TextBlock>
  71. <TextBox Name="Surname">
  72. </TextBox>
  73. <TextBlock
  74. TextWrapping="Wrap"
  75. HorizontalAlignment="Center" VerticalAlignment="Center"
  76. RenderTransformOrigin="0.602,0.975">
  77. <Run FontSize="25" Foreground="Gray" FontWeight="SemiBold">Отчество</Run>
  78. </TextBlock>
  79. <TextBox Name="Patronymic">
  80. </TextBox>
  81. <TextBlock
  82. TextWrapping="Wrap"
  83. HorizontalAlignment="Center" VerticalAlignment="Center"
  84. RenderTransformOrigin="0.602,0.975">
  85. <Run FontSize="25" Foreground="Gray" FontWeight="SemiBold">Ваш пол</Run>
  86. </TextBlock >
  87. <RadioButton Name="M" GroupName="MW">
  88. M
  89. </RadioButton>
  90. <RadioButton Name="W" GroupName="MW">
  91. Ж
  92. </RadioButton>
  93. <TextBlock
  94. TextWrapping="Wrap"
  95. HorizontalAlignment="Center" VerticalAlignment="Center"
  96. RenderTransformOrigin="0.602,0.975">
  97. <Button FontSize="25" Foreground="Gray" FontWeight="SemiBold" Click="GoReg" >Зарегистрироваться</Button>
  98. </TextBlock>
  99. <TextBlock
  100. TextWrapping="Wrap"
  101. HorizontalAlignment="Center" VerticalAlignment="Center"
  102. RenderTransformOrigin="0.602,0.975">
  103. <Button FontSize="25" Foreground="Gray" FontWeight="Bold" Click="Go1" >Войти</Button>
  104. </TextBlock>
  105. </StackPanel>
  106. </Grid>
  107. </Page>