|
@@ -8,24 +8,40 @@
|
|
|
x:DataType="vm:MainWindowViewModel"
|
|
|
Background="LightGray">
|
|
|
<StackPanel>
|
|
|
- <TextBlock Text="ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ" VerticalAlignment="Top" HorizontalAlignment="Center" FontStyle="Normal" FontWeight="Bold" FontSize="18" Padding="5" Classes="MyTB"/>
|
|
|
- <TextBlock Text="Имя пользователя" VerticalAlignment="Top" HorizontalAlignment="Center" Padding="0,0,70,0"/>
|
|
|
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Top">
|
|
|
- <TextBox Text="{Binding UserProfileForAdminVM.EditedUser.UserName}" Width="200" Height="30" Padding="5" Margin="5"/>
|
|
|
- <Image Source="{Binding UserProfileForAdminVM.ImageUser}" Width="100" Height="100"/>
|
|
|
+ <TextBlock Text="ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ" VerticalAlignment="Top" HorizontalAlignment="Center" FontStyle="Normal" FontWeight="Bold" FontSize="18" Padding="5"/>
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+ <StackPanel Margin="100,0,0,0">
|
|
|
+ <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Top">
|
|
|
+ <StackPanel Orientation="Vertical">
|
|
|
+ <TextBlock Text="Имя пользователя" VerticalAlignment="Top" HorizontalAlignment="Center" Padding="0,10,70,0"/>
|
|
|
+ <TextBox Text="{Binding UserProfileForAdminVM.EditedUser.UserName}" Width="200" Height="30" Padding="5" Margin="5"/>
|
|
|
+ </StackPanel>
|
|
|
+ <Image Source="{Binding UserProfileForAdminVM.ImageUser}" Width="100" Height="100"/>
|
|
|
+ </StackPanel>
|
|
|
+ <TextBlock Text="Дата рождения" VerticalAlignment="Top" HorizontalAlignment="Center" Padding="0,0,190,0"/>
|
|
|
+ <DatePicker SelectedDate="{ Binding UserProfileForAdminVM.DateTimeOffset}" HorizontalAlignment="Center" Width="300" Height="" Padding="5" Margin="5"/>
|
|
|
+ <ComboBox ItemsSource="{Binding UserProfileForAdminVM.GendersList}" SelectedItem="{Binding UserProfileForAdminVM.EditedUser.GenderNavigation}" HorizontalAlignment="Center" Width="150" Height="" HorizontalContentAlignment="Center">
|
|
|
+ <ComboBox.ItemTemplate>
|
|
|
+ <DataTemplate>
|
|
|
+ <TextBlock Text="{Binding NameGender}"/>
|
|
|
+ </DataTemplate>
|
|
|
+ </ComboBox.ItemTemplate>
|
|
|
+ </ComboBox>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Margin="120,15,0,0">
|
|
|
+ <TextBlock Text="Качества пользователя"/>
|
|
|
+ <ListBox ItemsSource="{Binding UserProfileForAdminVM.EditedUser.Idtraits}">
|
|
|
+ <ListBox.ItemTemplate>
|
|
|
+ <DataTemplate>
|
|
|
+ <TextBlock Text="{Binding Name}"/>
|
|
|
+ </DataTemplate>
|
|
|
+ </ListBox.ItemTemplate>
|
|
|
+ </ListBox>
|
|
|
+ </StackPanel>
|
|
|
</StackPanel>
|
|
|
- <TextBlock Text="Дата рождения" VerticalAlignment="Top" HorizontalAlignment="Center" Padding="0,0,90,0"/>
|
|
|
- <DatePicker SelectedDate="{ Binding UserProfileForAdminVM.DateTimeOffset}" HorizontalAlignment="Center" Width="300" Height="" Padding="5" Margin="5"/>
|
|
|
- <ComboBox ItemsSource="{Binding UserProfileForAdminVM.GendersList}" SelectedItem="{Binding UserProfileForAdminVM.EditedUser.GenderNavigation}" HorizontalAlignment="Center" Width="150" Height="" HorizontalContentAlignment="Center">
|
|
|
- <ComboBox.ItemTemplate>
|
|
|
- <DataTemplate>
|
|
|
- <TextBlock Text="{Binding NameGender}"/>
|
|
|
- </DataTemplate>
|
|
|
- </ComboBox.ItemTemplate>
|
|
|
- </ComboBox>
|
|
|
- <Button Command="{Binding UserProfileForAdminVM.Save}" Content="Сохранить изменения" VerticalAlignment="Top" HorizontalAlignment="Center" Padding="" Margin="5" Background="White" Foreground="Black" Width="" Height="30"/>
|
|
|
+ <Button Command="{Binding UserProfileForAdminVM.Save}" Content="СОХРАНИТЬ ИЗМЕНЕНИЯ" VerticalAlignment="Top" HorizontalAlignment="Center" Padding="" Margin="5" Background="White" Foreground="Black" Width="" Height="30"/>
|
|
|
<Button Content="Выбрать изображение пользователя" Command="{Binding UserProfileForAdminVM.Image}" VerticalAlignment="Top" HorizontalAlignment="Center" Padding="" Margin="5" Background="White" Foreground="Black" Width="" Height="30"/>
|
|
|
<Button Command="{Binding UserProfileForAdminVM.GoBack}" Content="ВЫХОД" VerticalAlignment="Top" HorizontalAlignment="Center" Padding="" Margin="5" Background="White" Foreground="Black" Width="" Height="30"/>
|
|
|
- <TextBlock Text="Развлекаловка" HorizontalAlignment="Center" VerticalAlignment="Bottom" Classes="AnimatedTB"/>
|
|
|
+ <TextBlock Text="Развлекаловка" HorizontalAlignment="Center" VerticalAlignment="Bottom" Classes="AnimatedTB" Padding="0,40,0,0"/>
|
|
|
</StackPanel>
|
|
|
</UserControl>
|