123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <UserControl xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:vm="using:Practikaoy.ViewModels"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:DataType="vm:MainWindowViewModel"
- x:Class="Practikaoy.Views.MeRoom">
- <Grid>
- <TextBlock Foreground="#592321" FontSize="18" Margin="4" HorizontalAlignment="Center">Добро пожаловать в личный кабинет :)</TextBlock>
- <Border Background="#ffa69e" Height="395" Width="650" CornerRadius="15">
- <StackPanel Margin="16">
-
- <TextBlock Text="Фамилия" FontSize="18" Margin="-7 3 9 2" >
- </TextBlock>
- <TextBox IsEnabled="{Binding MeRoom.UserisChanged}" Text="{Binding MeRoom.UserIS.Surname}" Background="#fae1dd" Width="180" FontSize="15" CornerRadius="10" HorizontalAlignment="Left" BorderBrush="#ff686b" BorderThickness="2" Height="10" Margin="80 -30 9 6"/>
-
- <TextBlock Text="Имя" FontSize="18" Margin="-7 0 -2 -6" >
- </TextBlock>
- <TextBox IsEnabled="{Binding MeRoom.UserisChanged}" Text = "{Binding MeRoom.UserIS.Name}" Background="#fae1dd" Width="180" FontSize="15" CornerRadius="10" BorderBrush="#ff686b" BorderThickness="2" Height="10" Margin="-290 -20 9 6"/>
-
- <TextBlock Text="Отчество" FontSize="18" Margin="-7 0 -2 -6">
- </TextBlock>
- <TextBox IsEnabled="{Binding MeRoom.UserisChanged}" Text = "{Binding MeRoom.UserIS.Patronimyc}" Background="#fae1dd" Width="180" FontSize="15" CornerRadius="10" HorizontalAlignment="Right" BorderBrush="#ff686b" BorderThickness="2" Height="10" Margin="0 -20 355 7"/>
-
- <TextBlock Text="Логин" FontSize="18" Margin="370 -90 -2 -6">
- </TextBlock>
- <TextBox IsEnabled="{Binding MeRoom.UserisChanged}" Text="{Binding MeRoom.UserIS.Login}" Background="#fae1dd" Width="180" FontSize="15" CornerRadius="10" HorizontalAlignment="Left" BorderBrush="#ff686b" BorderThickness="2" Height="10" Margin="429 -159 0 0"/>
- <CheckBox Margin="370 -60 -1 30" Content="Хотите изменить пароль? ;)" IsChecked="{Binding MeRoom.UserisChanged}"></CheckBox>
- <StackPanel Margin="2" IsVisible ="{Binding MeRoom.UserisChangedEnd}">
- <TextBox Background="#fae1dd" IsEnabled="{Binding MeRoom.UserisChanged}" Text="{Binding MeRoom.Passs}" Watermark="Пароль" Width="180" FontSize="15" CornerRadius="10" HorizontalAlignment="Right" BorderBrush="#ff686b" BorderThickness="2" Height="10" Margin="2" />
- <TextBox Background="#fae1dd" IsEnabled="{Binding MeRoom.UserisChanged}" Watermark="Повторите пароль" Width="180" FontSize="15" CornerRadius="10" HorizontalAlignment="Right" BorderBrush="#ff686b" BorderThickness="2" Height="10" />
- </StackPanel>
-
- <TextBlock Text="Пол" FontSize="18" Margin="-7 -70 -2 -6">
- </TextBlock>
- <ComboBox ItemsSource="{Binding MeRoom.GendersList}" Background="#fae1dd" Width="180" FontSize="15" CornerRadius="10" HorizontalAlignment="Left" BorderBrush="#ff686b" BorderThickness="2" Height="10" Margin="35 -77 0 7"/>
-
- <TextBlock Text="Дата рождения" FontSize="18" Margin="-7 -40 -2 -6" >
- </TextBlock>
- <DatePicker IsEnabled="{Binding MeRoom.UserisChanged}" SelectedDate = "{Binding MeRoom.UserIS.User.BrDay}" Background="#fae1dd" Width="310" FontSize="15" CornerRadius="5" HorizontalAlignment="Left" BorderBrush="#ff686b" BorderThickness="2" Height="27" Margin="0 -10 0 7"/>
-
- <TextBlock Text="Стаж (в годах)" FontSize="18">
- </TextBlock>
- <TextBox IsEnabled="{Binding MeRoom.UserisChanged}" Text = "{Binding MeRoom.UserIS.Timer}" Background="#fae1dd" Width="180" FontSize="15" CornerRadius="10" HorizontalAlignment="Left" BorderBrush="#ff686b" BorderThickness="2" Height="10"/>
-
- <TextBlock Text="Почта" FontSize="18">
- </TextBlock>
- <TextBox IsEnabled="{Binding MeRoom.UserisChanged}" Text = "{Binding MeRoom.UserIS.Email}" Background="#fae1dd" Width="180" FontSize="15" CornerRadius="10" HorizontalAlignment="Left" BorderBrush="#ff686b" BorderThickness="2" Height="10"/>
-
- <TextBlock Text="Телефон (если телефон отсутствует, то поле не заполняйте!!(для корректной работы))" FontSize="18">
- </TextBlock>
- <TextBox IsEnabled="{Binding MeRoom.UserisChanged}" Text = "{Binding MeRoom.UserIS.Phone}" Background="#fae1dd" Width="180" FontSize="15" CornerRadius="10" HorizontalAlignment="Left" BorderBrush="#ff686b" BorderThickness="2" Height="10"/>
-
-
-
- </StackPanel>
- </Border>
- </Grid>
- </UserControl>
|