2024-12-01 15:14:20 +04:00
|
|
|
|
<Window x:Class="EmployeeManagmentView.Employee.ViewEmployeeWindow"
|
2024-12-01 15:51:49 +04:00
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
2024-12-01 15:14:20 +04:00
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2024-12-01 15:51:49 +04:00
|
|
|
|
Title="Удаление сотрудников"
|
|
|
|
|
Height="500" Width="800"
|
|
|
|
|
ResizeMode="NoResize"
|
|
|
|
|
WindowStartupLocation="CenterScreen"
|
|
|
|
|
Background="#0D2D4F">
|
|
|
|
|
|
2024-12-01 15:14:20 +04:00
|
|
|
|
<Grid>
|
2024-12-01 15:51:49 +04:00
|
|
|
|
<!-- Заголовок окна -->
|
|
|
|
|
<TextBlock Text="Список сотрудников для удаления"
|
|
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Top"
|
|
|
|
|
FontSize="18" FontWeight="Bold"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
Margin="0,20,0,0" />
|
|
|
|
|
|
|
|
|
|
<!-- Поле поиска -->
|
|
|
|
|
<TextBox x:Name="SearchTextBox"
|
|
|
|
|
Width="560"
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
Margin="0,60,0,0"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
Style="{StaticResource RoundedTextBoxStyle}"
|
|
|
|
|
TextChanged="SearchTextBox_TextChanged" />
|
|
|
|
|
|
|
|
|
|
<!-- Таблица сотрудников -->
|
|
|
|
|
<DataGrid x:Name="EmployeesDataGrid"
|
2024-12-01 16:19:48 +04:00
|
|
|
|
Margin="20,100,20,75"
|
2024-12-01 15:51:49 +04:00
|
|
|
|
AutoGenerateColumns="False"
|
|
|
|
|
Style="{StaticResource RoundedDataGridStyle}">
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTextColumn Header="Должность" Binding="{Binding NameJob}" Width="*" />
|
|
|
|
|
<DataGridTextColumn Header="Дата начала" Binding="{Binding StartJob, StringFormat=dd.MM.yyyy}" Width="*" />
|
|
|
|
|
<DataGridTextColumn Header="Дата окончания" Binding="{Binding EndJob, StringFormat=dd.MM.yyyy}" Width="*" />
|
|
|
|
|
<DataGridTextColumn Header="Частичная занятость" Binding="{Binding PartTimeJob}" Width="*" />
|
|
|
|
|
<DataGridTextColumn Header="Ставка" Binding="{Binding Bid}" Width="*" />
|
|
|
|
|
<DataGridTextColumn Header="Физическое лицо" Binding="{Binding PhysicalPersonName}" Width="*" />
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</DataGrid>
|
|
|
|
|
|
2024-12-01 16:19:48 +04:00
|
|
|
|
<Button Content="Работа с отпусками"
|
|
|
|
|
HorizontalAlignment="Left" VerticalAlignment="Bottom"
|
|
|
|
|
Width="200" Height="40"
|
|
|
|
|
Margin="180,0,0,20"
|
|
|
|
|
Background="#004890"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
Style="{StaticResource RoundedButtonStyle}"
|
|
|
|
|
Click="OpenVacationManagementWindow"/>
|
|
|
|
|
|
|
|
|
|
<Button Content="Работа с зарплатой"
|
|
|
|
|
HorizontalAlignment="Right" VerticalAlignment="Bottom"
|
|
|
|
|
Width="200" Height="40"
|
|
|
|
|
Margin="0,0,180,20"
|
|
|
|
|
Background="#004890"
|
|
|
|
|
Foreground="White"
|
|
|
|
|
Style="{StaticResource RoundedButtonStyle}"
|
|
|
|
|
Click="OpenSalaryManagementWindow"/>
|
|
|
|
|
|
2024-12-01 15:14:20 +04:00
|
|
|
|
</Grid>
|
2024-12-01 15:51:49 +04:00
|
|
|
|
</Window>
|