31 lines
1.9 KiB
XML
31 lines
1.9 KiB
XML
<Window x:Class="EmployeeManagmentView.PhisicalPersonWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:local="clr-namespace:EmployeeManagmentView"
|
|
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
|
|
mc:Ignorable="d"
|
|
Title="Physical Person Management" Height="450" Width="800">
|
|
<Grid>
|
|
<StackPanel>
|
|
<!-- TextBoxes with Watermark for all fields -->
|
|
<xctk:WatermarkTextBox Name="NameTextBox" Width="200" Margin="10" Watermark="Enter Name"/>
|
|
<xctk:WatermarkTextBox Name="SurnameTextBox" Width="200" Margin="10" Watermark="Enter Surname"/>
|
|
<xctk:WatermarkTextBox Name="AgeTextBox" Width="200" Margin="10" Watermark="Enter Age"/>
|
|
<xctk:WatermarkTextBox Name="AddressTextBox" Width="200" Margin="10" Watermark="Enter Address"/>
|
|
<xctk:WatermarkTextBox Name="TelephoneTextBox" Width="200" Margin="10" Watermark="Enter Telephone"/>
|
|
<xctk:WatermarkTextBox Name="GenderTextBox" Width="200" Margin="10" Watermark="Enter Gender"/>
|
|
<xctk:WatermarkTextBox Name="BirthdayTextBox" Width="200" Margin="10" Watermark="Enter Birthday (YYYY-MM-DD)"/>
|
|
|
|
<!-- Buttons for CRUD actions -->
|
|
<Button Content="Add" Width="100" Margin="10" Click="AddButton_Click"/>
|
|
<Button Content="Update" Width="100" Margin="10" Click="UpdateButton_Click"/>
|
|
<Button Content="Delete" Width="100" Margin="10" Click="DeleteButton_Click"/>
|
|
|
|
<!-- DataGrid to display PhysicalPersons -->
|
|
<DataGrid Name="PhysicalPersonsDataGrid" Margin="10" AutoGenerateColumns="True"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window>
|