PIbd-42_Kashin_M.I_CPO_Cour.../EmployeeManagmentView/PhysicalPerson/DeletePhysicalPersonWindow.xaml

43 lines
1.7 KiB
XML

<Window x:Class="EmployeeManagmentView.PhysicalPerson.DeletePhysicalPersonWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Удаление физического лица"
Height="400" Width="600"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
Background="#0D2D4F">
<Grid>
<!-- Заголовок окна -->
<TextBlock Text="Список физических лиц для удаления"
HorizontalAlignment="Center" VerticalAlignment="Top"
FontSize="18" FontWeight="Bold"
Foreground="#FFFFFF"
Margin="0,20,0,0" />
<!-- Поиск -->
<TextBox x:Name="SearchTextBox"
Width="560"
VerticalAlignment="Top"
Margin="0,60,0,0"
HorizontalAlignment="Center"
TextChanged="SearchTextBox_TextChanged" />
<!-- Таблица для отображения -->
<DataGrid x:Name="PhysicalPersonsDataGrid"
Margin="20,100,20,80"
AutoGenerateColumns="True"
Background="#FFFFFF"
Foreground="#000000" />
<!-- Кнопка для удаления -->
<Button Content="Удалить"
HorizontalAlignment="Center" VerticalAlignment="Bottom"
Width="100" Height="40"
Margin="0,0,0,20"
Background="#FF4C4C"
Foreground="#FFFFFF"
Click="DeleteButton_Click"/>
</Grid>
</Window>