RegistrationPage.xaml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <Page x:Class="MyTests.Pages.RegistrationPage"
  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:MyTests.Pages"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450"
  9. d:DesignWidth="800">
  10. <Grid Background="{StaticResource color1}">
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition/>
  13. <ColumnDefinition Width="2*"/>
  14. <ColumnDefinition/>
  15. </Grid.ColumnDefinitions>
  16. <Grid.RowDefinitions>
  17. <RowDefinition/>
  18. <RowDefinition Height="90*"/>
  19. <RowDefinition/>
  20. </Grid.RowDefinitions>
  21. <Border Grid.Row="1"
  22. Grid.Column="1"
  23. BorderBrush="Black"
  24. BorderThickness="1.5"
  25. CornerRadius="15"
  26. Background="{StaticResource color2}">
  27. <StackPanel Orientation="Vertical"
  28. Margin="10"
  29. VerticalAlignment="Center"
  30. HorizontalAlignment="Center">
  31. <Label Content="Фамилия Имя Отчество:"
  32. Foreground="{StaticResource TextColor}"
  33. Height="40"
  34. Width="240"
  35. FontSize="20"/>
  36. <TextBox Name="FIOBox"
  37. Foreground="{StaticResource TextColor}"
  38. TextWrapping="Wrap"
  39. VerticalAlignment="Top"
  40. Height="40"
  41. Width="240"
  42. FontSize="20"/>
  43. <Label Content="Email:"
  44. Foreground="{StaticResource TextColor}"
  45. Height="40"
  46. Width="240"
  47. FontSize="20"/>
  48. <TextBox Name="EmailBox"
  49. Foreground="{StaticResource TextColor}"
  50. TextWrapping="Wrap"
  51. VerticalAlignment="Top"
  52. Height="40"
  53. Width="240"
  54. FontSize="20"/>
  55. <Label Content="Логин:"
  56. Foreground="{StaticResource TextColor}"
  57. Height="40"
  58. Width="240"
  59. FontSize="20"/>
  60. <TextBox Name="LogBox"
  61. Foreground="{StaticResource TextColor}"
  62. TextWrapping="Wrap"
  63. VerticalAlignment="Top"
  64. Height="40"
  65. Width="240"
  66. FontSize="20"/>
  67. <Label Content="Пароль:"
  68. Foreground="{StaticResource TextColor}"
  69. Height="40"
  70. Width="240"
  71. FontSize="20"/>
  72. <PasswordBox Name="PassBox"
  73. Foreground="{StaticResource TextColor}"
  74. Height="40"
  75. Width="240"
  76. FontSize="20"/>
  77. <StackPanel Orientation="Horizontal"
  78. Margin="0,20,0,0">
  79. <Button Content="Назад"
  80. Height="40"
  81. Width="150"
  82. Margin="0,0,30,0"
  83. FontSize="20"
  84. Click="BackButton_Click"/>
  85. <Button Content="Регистрация"
  86. Height="40"
  87. Width="150"
  88. FontSize="20"
  89. IsDefault="True"
  90. Click="RegButton_Click">
  91. </Button>
  92. </StackPanel>
  93. </StackPanel>
  94. </Border>
  95. </Grid>
  96. </Page>