|
@@ -37,19 +37,19 @@
|
|
</StackPanel.Styles>
|
|
</StackPanel.Styles>
|
|
|
|
|
|
<TextBlock HorizontalAlignment="Center" Margin="0 0 0 30" FontFamily="Roboto" FontSize="25" FontWeight="Bold">Регистрация</TextBlock>
|
|
<TextBlock HorizontalAlignment="Center" Margin="0 0 0 30" FontFamily="Roboto" FontSize="25" FontWeight="Bold">Регистрация</TextBlock>
|
|
- <TextBox Text="{}" Watermark="Логин" Width="360" FontSize="13" Margin="0 0 0 10" ></TextBox>
|
|
|
|
- <TextBox Watermark="Пароль" PasswordChar="•" Width="360" ></TextBox>
|
|
|
|
|
|
+ <TextBox Text="{Binding RegVM.CurrentUser.Login}" Watermark="Логин" Width="360" FontSize="13" Margin="0 0 0 10" ></TextBox>
|
|
|
|
+ <TextBox Text="{Binding RegVM.CurrentUser.Password}" Watermark="Пароль" PasswordChar="•" Width="360" ></TextBox>
|
|
<TextBlock Margin="0 25 0 0" FontFamily="Roboto" FontSize="14">Личные данные:</TextBlock>
|
|
<TextBlock Margin="0 25 0 0" FontFamily="Roboto" FontSize="14">Личные данные:</TextBlock>
|
|
- <TextBox Watermark="Фамилия" Width="360" FontSize="13" Margin="0 10 0 10" ></TextBox>
|
|
|
|
- <TextBox Watermark="Имя" Width="360" FontSize="13" Margin="0 0 0 10" ></TextBox>
|
|
|
|
- <TextBox Watermark="Отчество" Width="360" FontSize="13" Margin="0 0 0 25" ></TextBox>
|
|
|
|
|
|
+ <TextBox Text="{Binding RegVM.CurrentUser.Surname}" Watermark="Фамилия" Width="360" FontSize="13" Margin="0 10 0 10" ></TextBox>
|
|
|
|
+ <TextBox Text="{Binding RegVM.CurrentUser.Name}" Watermark="Имя" Width="360" FontSize="13" Margin="0 0 0 10" ></TextBox>
|
|
|
|
+ <TextBox Text="{Binding RegVM.CurrentUser.Patronymic}" Watermark="Отчество" Width="360" FontSize="13" Margin="0 0 0 25" ></TextBox>
|
|
<TextBlock Margin="0 0 0 10" FontFamily="Roboto" FontSize="14">Дата рождения:</TextBlock>
|
|
<TextBlock Margin="0 0 0 10" FontFamily="Roboto" FontSize="14">Дата рождения:</TextBlock>
|
|
<StackPanel Spacing="10" Orientation="Horizontal" HorizontalAlignment="Center">
|
|
<StackPanel Spacing="10" Orientation="Horizontal" HorizontalAlignment="Center">
|
|
- <DatePicker Width="360" CornerRadius="8" Background="#F8FDFF" BorderBrush="#008BC7" BorderThickness="2" FontFamily="Roboto"></DatePicker>
|
|
|
|
|
|
+ <DatePicker SelectedDate="{Binding RegVM.Birthday}" Width="360" CornerRadius="8" Background="#F8FDFF" BorderBrush="#008BC7" BorderThickness="2" FontFamily="Roboto"></DatePicker>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
- <TextBox Watermark="Элетронная почта" Width="360" FontSize="13" Margin="0 25 0 10" ></TextBox>
|
|
|
|
- <TextBox Watermark="Номер телефона" Width="360" FontSize="13" Margin="0 0 0 25" ></TextBox>
|
|
|
|
- <Button HorizontalAlignment="Center" Margin="0 20 0 10" Width="230" Height="45" CornerRadius="10" Background="#38BFF2" Command="{Binding LoadLoginView}">
|
|
|
|
|
|
+ <TextBox Text="{Binding RegVM.CurrentUser.Email}" Watermark="Элетронная почта" Width="360" FontSize="13" Margin="0 25 0 10" ></TextBox>
|
|
|
|
+ <TextBox Text="{Binding RegVM.CurrentUser.Phonenumber}" Watermark="Номер телефона" Width="360" FontSize="13" Margin="0 0 0 25" ></TextBox>
|
|
|
|
+ <Button HorizontalAlignment="Center" Margin="0 20 0 10" Width="230" Height="45" CornerRadius="10" Background="#38BFF2" Command="{Binding $parent[Window].((vm:MainWindowViewModel)DataContext).SaveData}">
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Roboto" FontSize="16" FontWeight="DemiBold" Foreground="White">Зарегистироваться</TextBlock>
|
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Roboto" FontSize="16" FontWeight="DemiBold" Foreground="White">Зарегистироваться</TextBlock>
|
|
</Button>
|
|
</Button>
|
|
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
|
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|