wMemberChangePrifile.xaml 9.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <Page x:Class="teaTime.wMemberChangePrifile"
  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:teaTime"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="wMemberChangePrifile" Background="#D3DB94">
  10. <Grid>
  11. <Grid>
  12. <Viewbox Stretch="Uniform">
  13. <Border Width="800" Height="450" HorizontalAlignment="Center" VerticalAlignment="Center">
  14. <StackPanel Margin="30 15 30 0">
  15. <TextBlock Text="Редактировать профиль" FontFamily="{StaticResource GogoiaDeco}" FontSize="35" HorizontalAlignment="Left" Foreground="#A77748" Margin="15 0 0 0"/>
  16. <Grid>
  17. <Grid>
  18. <Rectangle RadiusX="20" RadiusY="20" StrokeThickness="2" Fill="#FAEDCD" Width="200" Height="200" HorizontalAlignment="Left" Margin="15 0 0 0"/>
  19. <TextBlock Text="Фото профиля" FontFamily="{StaticResource GogoiaDeco}" FontWeight="Bold" FontSize="20" Foreground="#A77748" HorizontalAlignment="Left" Margin="62,10,0,0" VerticalAlignment="Top" />
  20. </Grid>
  21. <Grid>
  22. <Rectangle RadiusX="20" RadiusY="20" StrokeThickness="2" Fill="#FAEDCD" Width="480" Height="200" HorizontalAlignment="Left" Margin="250 0 0 0"/>
  23. <TextBlock Text="Личные данные" FontFamily="{StaticResource GogoiaDeco}" FontWeight="Bold" FontSize="20" Foreground="#A77748" HorizontalAlignment="Left" Margin="437,11,0,0" VerticalAlignment="Top" />
  24. <StackPanel Margin="10 5 0 0">
  25. <TextBlock Text="Фамилия" FontFamily="{StaticResource GogoiaDeco}" FontWeight="Bold" FontSize="20" Foreground="#A77748" HorizontalAlignment="Left" Margin="275 35 0 0" VerticalAlignment="Top" />
  26. <TextBlock Text="Имя" FontFamily="{StaticResource GogoiaDeco}" FontWeight="Bold" FontSize="20" Foreground="#A77748" HorizontalAlignment="Left" Margin="275 7 0 0" VerticalAlignment="Top" />
  27. <TextBlock Text="Отчество" FontFamily="{StaticResource GogoiaDeco}" FontWeight="Bold" FontSize="20" Foreground="#A77748" HorizontalAlignment="Left" Margin="275 7 0 0" VerticalAlignment="Top" />
  28. <TextBlock Text="Телефон" FontFamily="{StaticResource GogoiaDeco}" FontWeight="Bold" FontSize="20" Foreground="#A77748" HorizontalAlignment="Left" Margin="275 7 0 0" VerticalAlignment="Top" />
  29. <TextBlock Text="Почта" FontFamily="{StaticResource GogoiaDeco}" FontWeight="Bold" FontSize="20" Foreground="#A77748" HorizontalAlignment="Left" Margin="275 7 0 0" VerticalAlignment="Top" />
  30. </StackPanel>
  31. <StackPanel Margin="255 30 0 0">
  32. <StackPanel Margin="125 7 0 0">
  33. <TextBox x:Name="aSurname" Width="260" Height="25" Text="" FontFamily="{StaticResource UniNeue-Regular}" HorizontalAlignment="Left" VerticalContentAlignment="Bottom" FontSize="12" BorderThickness="0" Background="#FAEDCD" Foreground="#A77748"/>
  34. <Line X1="0" Y1="0" X2="260" Y2="0" StrokeDashArray="4 2" StrokeDashCap="Round" Stroke="#A77748" />
  35. </StackPanel>
  36. <StackPanel Margin="125 5 0 0">
  37. <TextBox x:Name="aName" Width="260" Height="25" Text="" FontFamily="{StaticResource UniNeue-Regular}" HorizontalAlignment="Left" VerticalContentAlignment="Bottom" FontSize="12" BorderThickness="0" Background="#FAEDCD" Foreground="#A77748"/>
  38. <Line X1="0" Y1="0" X2="260" Y2="0" StrokeDashArray="4 2" StrokeDashCap="Round" Stroke="#A77748" />
  39. </StackPanel>
  40. <StackPanel Margin="125 7 0 0">
  41. <TextBox x:Name="aMiddleName" Width="260" Height="25" Text="" FontFamily="{StaticResource UniNeue-Regular}" HorizontalAlignment="Left" VerticalContentAlignment="Bottom" FontSize="12" BorderThickness="0" Background="#FAEDCD" Foreground="#A77748"/>
  42. <Line X1="0" Y1="0" X2="260" Y2="0" StrokeDashArray="4 2" StrokeDashCap="Round" Stroke="#A77748" />
  43. </StackPanel>
  44. <StackPanel Margin="125 7.5 0 0">
  45. <TextBox x:Name="aPhoneNum" Width="260" Height="25" Text="" FontFamily="{StaticResource UniNeue-Regular}" HorizontalAlignment="Left" VerticalContentAlignment="Bottom" FontSize="12" BorderThickness="0" Background="#FAEDCD" Foreground="#A77748"/>
  46. <Line X1="0" Y1="0" X2="260" Y2="0" StrokeDashArray="4 2" StrokeDashCap="Round" Stroke="#A77748" />
  47. </StackPanel>
  48. <StackPanel Margin="125 4 0 0">
  49. <TextBox x:Name="aEmail" Width="260" Height="25" Text="" FontFamily="{StaticResource UniNeue-Regular}" HorizontalAlignment="Left" VerticalContentAlignment="Bottom" FontSize="12" BorderThickness="0" Background="#FAEDCD" Foreground="#A77748"/>
  50. <Line X1="0" Y1="0" X2="260" Y2="0" StrokeDashArray="4 2" StrokeDashCap="Round" Stroke="#A77748" />
  51. </StackPanel>
  52. </StackPanel>
  53. </Grid>
  54. </Grid>
  55. <Grid Width="480" Margin="0 10 10 0" HorizontalAlignment="Right">
  56. <Rectangle RadiusX="20" RadiusY="20" StrokeThickness="2" Fill="#FAEDCD" Width="480" Height="110" HorizontalAlignment="Right" />
  57. <TextBlock Text="Параметры входа" FontFamily="{StaticResource GogoiaDeco}" FontWeight="Bold" FontSize="20" Foreground="#A77748" HorizontalAlignment="Center" Margin="0,10,0,0" VerticalAlignment="Top" />
  58. <StackPanel Margin="0 30 0 0">
  59. <TextBlock Text="Логин" FontFamily="{StaticResource GogoiaDeco}" FontWeight="Bold" FontSize="20" Foreground="#A77748" HorizontalAlignment="Left" Margin="55 7 0 0" VerticalAlignment="Top" />
  60. <TextBlock Text="Пароль" FontFamily="{StaticResource GogoiaDeco}" FontWeight="Bold" FontSize="20" Foreground="#A77748" HorizontalAlignment="Left" Margin="55 7 0 0" VerticalAlignment="Top" />
  61. </StackPanel>
  62. <StackPanel Margin="0 25 0 0">
  63. <StackPanel Margin="125 6 0 0">
  64. <TextBox x:Name="aLogin" Width="260" Height="25" Text="" FontFamily="{StaticResource UniNeue-Regular}" HorizontalAlignment="Left" VerticalContentAlignment="Bottom" FontSize="12" BorderThickness="0" Background="#FAEDCD" Foreground="#A77748"/>
  65. <Line X1="0" Y1="0" X2="260" Y2="0" StrokeDashArray="4 2" StrokeDashCap="Round" Stroke="#A77748" />
  66. </StackPanel>
  67. <StackPanel Margin="125 12 0 0">
  68. <PasswordBox x:Name="aPass" Password="" Width="260" Height="20" FontFamily="{StaticResource UniNeue-Regular}" FontSize="12" VerticalContentAlignment="Center" HorizontalAlignment="Left" VerticalAlignment="Center" BorderThickness="0" Background="#FAEDCD" Foreground="#A77748"/>
  69. <Line X1="0" Y1="0" X2="260" Y2="0" StrokeDashArray="4 2" StrokeDashCap="Round" Stroke="#A77748" />
  70. </StackPanel>
  71. </StackPanel>
  72. </Grid>
  73. <Button x:Name="bChange" Width="170" Height="35" Margin="0 15 0 0" Click="bChange_Click">
  74. <Button.Template>
  75. <ControlTemplate>
  76. <Grid>
  77. <Rectangle RadiusX="10" RadiusY="10" StrokeThickness="2" Fill="#FAEDCD"/>
  78. <TextBlock Text="Изменить" FontFamily="{StaticResource GogoiaDeco}" FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#A77748" Margin ="0 5 0 0"/>
  79. </Grid>
  80. </ControlTemplate>
  81. </Button.Template>
  82. </Button>
  83. </StackPanel>
  84. </Border>
  85. </Viewbox>
  86. </Grid>
  87. </Grid>
  88. </Page>