|
@@ -154,51 +154,51 @@
|
|
|
<Border Background="#969696" CornerRadius="13" Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<TextBlock Classes="TextToTextBox">Фамилия:</TextBlock>
|
|
|
- <TextBox Watermark="Фималия" Width="360" Margin="160 20 0 0"></TextBox>
|
|
|
+ <TextBox Text="{Binding AddEmployeesViewModel.CurrentUser.Surname}" Watermark="Фамилия" Width="360" Margin="160 20 0 0"></TextBox>
|
|
|
</StackPanel>
|
|
|
<Border Background="#969696" CornerRadius="13" Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<TextBlock Classes="TextToTextBox">Имя:</TextBlock>
|
|
|
- <TextBox Watermark="Имя" Width="360" Margin="200 20 0 0"></TextBox>
|
|
|
+ <TextBox Text="{Binding AddEmployeesViewModel.CurrentUser.Name}" Watermark="Имя" Width="360" Margin="200 20 0 0"></TextBox>
|
|
|
</StackPanel>
|
|
|
<Border Background="#969696" CornerRadius="13" Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<TextBlock Classes="TextToTextBox">Отчетсво:</TextBlock>
|
|
|
- <TextBox Watermark="Отчетсво" Width="360" Margin="156 20 0 0"></TextBox>
|
|
|
+ <TextBox Text="{Binding AddEmployeesViewModel.CurrentUser.Patronymic}" Watermark="Отчетсво" Width="360" Margin="156 20 0 0"></TextBox>
|
|
|
</StackPanel>
|
|
|
<Border Background="#969696" CornerRadius="13" Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<TextBlock Classes="TextToTextBox">Почта:</TextBlock>
|
|
|
- <TextBox Watermark="Почта" Width="360" Margin="183 20 0 0"></TextBox>
|
|
|
+ <TextBox Text="{Binding AddEmployeesViewModel.CurrentUser.Email}" Watermark="Почта" Width="360" Margin="183 20 0 0"></TextBox>
|
|
|
</StackPanel>
|
|
|
<Border Background="#969696" CornerRadius="13" Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<TextBlock Classes="TextToTextBox">Пароль:</TextBlock>
|
|
|
- <TextBox Watermark="Пароль" Width="360" Margin="170 20 0 0"></TextBox>
|
|
|
+ <TextBox Text="{Binding AddEmployeesViewModel.CurrentUser.Password}" Watermark="Пароль" Width="360" Margin="170 20 0 0"></TextBox>
|
|
|
</StackPanel>
|
|
|
<Border Background="#969696" CornerRadius="13" Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<TextBlock Classes="TextToTextBox">Телефон:</TextBlock>
|
|
|
- <TextBox Watermark="Телефон" Width="360" Margin="165 20 0 0"></TextBox>
|
|
|
+ <TextBox Text="{Binding AddEmployeesViewModel.CurrentUser.Phonenumber}" Watermark="Телефон" Width="360" Margin="165 20 0 0"></TextBox>
|
|
|
</StackPanel>
|
|
|
<Border Background="#969696" CornerRadius="13" Width="1150" Height="0.5" Margin="200 30 0 10" HorizontalAlignment="Left"></Border>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
<TextBlock Classes="TextToTextBox">Роль:</TextBlock>
|
|
|
- <TextBox Watermark="Роль" Width="360" Margin="200 20 0 0"></TextBox>
|
|
|
+ <TextBox Text="{Binding AddEmployeesViewModel.CurrentUser.Role}" Watermark="Роль" Width="360" Margin="200 20 0 0"></TextBox>
|
|
|
</StackPanel>
|
|
|
<Border Background="#969696" CornerRadius="13" Width="1150" Height="0.5" Margin="197 30 0 10" HorizontalAlignment="Left"></Border>
|
|
|
- <StackPanel Orientation="Vertical">
|
|
|
- <TextBlock Classes="TextToTextBox">Проекты:</TextBlock>
|
|
|
- <CheckBox Classes="TextToCheckBox" Margin="202 10 0 0">
|
|
|
- <TextBlock>Проект “...”</TextBlock>
|
|
|
- </CheckBox>
|
|
|
- <CheckBox Classes="TextToCheckBox" Margin="202 10 0 0">
|
|
|
- <TextBlock>Проект “...”</TextBlock>
|
|
|
- </CheckBox>
|
|
|
- <CheckBox Classes="TextToCheckBox" Margin="202 10 0 0">
|
|
|
- <TextBlock>Проект “...”</TextBlock>
|
|
|
- </CheckBox>
|
|
|
- </StackPanel>
|
|
|
+ <TextBlock Classes="TextToTextBox">Проекты:</TextBlock>
|
|
|
+ <ListBox ItemsSource="{Binding ListProjects}">
|
|
|
+ <ListBox.ItemTemplate>
|
|
|
+ <DataTemplate>
|
|
|
+ <StackPanel Orientation="Vertical">
|
|
|
+ <CheckBox Classes="TextToCheckBox" Margin="202 10 0 0">
|
|
|
+ <TextBlock Text="{Binding Title}"></TextBlock>
|
|
|
+ </CheckBox>
|
|
|
+ </StackPanel>
|
|
|
+ </DataTemplate>
|
|
|
+ </ListBox.ItemTemplate>
|
|
|
+ </ListBox>
|
|
|
</StackPanel>
|
|
|
</ScrollViewer>
|
|
|
</StackPanel>
|