-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRegistrationWindow.xaml
167 lines (151 loc) · 7.08 KB
/
RegistrationWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<Window x:Class="CursedProjectAN.RegistrationWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:local="clr-namespace:CursedProjectAN"
mc:Ignorable="d"
Title="Регистрация" Icon="C:\Users\Самар\Desktop\Курсач\CursedProjectAN\Images\cookie.png" Height="800" Width="1210" WindowStartupLocation="CenterScreen">
<Grid Background="{StaticResource BrightYellow}">
<Image Source="C:\Users\Самар\Desktop\Курсач\CursedProjectAN\Images\cookie.png"
Height="60"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="10,0,0,0"/>
<TextBlock Text="CookieTour"
FontSize="40"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="70,8,0,0"
Foreground="{StaticResource BrightDarkRed}"
FontFamily="Bauhaus 93"/>
<TextBlock Text="Регистрация"
HorizontalAlignment="Center"
Margin="0,-550,0,0"
VerticalAlignment="Center"
FontSize="36"
Foreground="{StaticResource BrightDarkRed}"
FontWeight="SemiBold"/>
<TextBox x:Name="RegLoginBox"
KeyDown="RegLoginBox_Down"
HorizontalAlignment="Center"
VerticalAlignment="Center"
MaxLength="50"
materialDesign:TextFieldAssist.CharacterCounterVisibility="Hidden"
Margin="0,-400,0,0"
Width="300"
Height="55"
Style="{StaticResource MaterialDesignFloatingHintTextBox}"
materialDesign:HintAssist.Hint="Логин"
materialDesign:TextFieldAssist.UnderlineBrush="{StaticResource BrightCoral}"
materialDesign:HintAssist.Foreground="{StaticResource BrightDarkRed}"
FontSize="20"
Foreground="{StaticResource BrightDarkRed}"/>
<PasswordBox x:Name="RegPasswordBox"
KeyDown="RegPasswordBox_Down"
HorizontalAlignment="Center"
VerticalAlignment="Center"
MaxLength="50"
Margin="0,-250,0,0"
Width="300"
Height="55"
Style="{StaticResource MaterialDesignFloatingHintPasswordBox}"
materialDesign:HintAssist.Hint="Пароль"
materialDesign:TextFieldAssist.UnderlineBrush="{StaticResource BrightCoral}"
materialDesign:HintAssist.Foreground="{StaticResource BrightDarkRed}"
FontSize="20"
Foreground="{StaticResource BrightDarkRed}"/>
<PasswordBox x:Name="RegRepeatPasswordBox"
HorizontalAlignment="Center"
VerticalAlignment="Center"
MaxLength="50"
Margin="0,-100,0,0"
Width="300"
Height="55"
Style="{StaticResource MaterialDesignFloatingHintPasswordBox}"
materialDesign:HintAssist.Hint="Повторите пароль"
materialDesign:TextFieldAssist.UnderlineBrush="{StaticResource BrightCoral}"
materialDesign:HintAssist.Foreground="{StaticResource BrightDarkRed}"
FontSize="20"
Foreground="{StaticResource BrightDarkRed}"/>
<Button Content="Зарегистрироваться"
HorizontalAlignment="Center"
Margin="0,100,0,0"
VerticalAlignment="Center"
Width="230"
Height="50"
Background="{StaticResource BrightCoral}"
Foreground="{StaticResource BrightDarkRed}"
BorderBrush="{StaticResource BrightCoral}"
BorderThickness="2"
FontSize="20"
Click="RegistrationButton"/>
<TextBlock Text="Есть аккаунт?"
HorizontalAlignment="Center"
Margin="0,550,0,0"
VerticalAlignment="Center"
FontSize="18"
Foreground="{StaticResource BrightDarkRed}"/>
<Button Content="Войти"
HorizontalAlignment="Center"
Margin="0,600,0,0"
VerticalAlignment="Center"
Width="200"
Height="30"
Background="Transparent"
Foreground="{StaticResource BrightDarkRed}"
BorderBrush="Transparent"
FontSize="18"
FontWeight="SemiBold"
Click="ToLoginButton"/>
<Image Source="C:\Users\Самар\Desktop\Курсач\CursedProjectAN\Images\cookie1.png"
Height="400"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Margin="0,0,-575,-315"
Panel.ZIndex="2">
<Image.Effect>
<DropShadowEffect BlurRadius="50" Color="{DynamicResource BrightCoralColor}"/>
</Image.Effect>
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="135"/>
<TranslateTransform/>
</TransformGroup>
</Image.RenderTransform>
</Image>
<Image Source="C:\Users\Самар\Desktop\Курсач\CursedProjectAN\Images\cookie1.png"
Height="200"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Margin="0,0,-50,200"
Panel.ZIndex="1">
<Image.Effect>
<DropShadowEffect Color="{DynamicResource BrightOrangeColor}" BlurRadius="50"/>
</Image.Effect>
</Image>
<Image Source="C:\Users\Самар\Desktop\Курсач\CursedProjectAN\Images\cookie1.png"
Height="100"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Margin="0,0,170,270"
Panel.ZIndex="3"
RenderTransformOrigin="0.5,0.5"
>
<Image.Effect>
<DropShadowEffect Color="{DynamicResource BrightYellowColor}" BlurRadius="50"/>
</Image.Effect>
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="135"/>
<TranslateTransform/>
</TransformGroup>
</Image.RenderTransform>
</Image>
</Grid>
</Window>