75 lines
3.7 KiB
XML
75 lines
3.7 KiB
XML
<Window x:Class="EmployeeManagmentView.Employee.Salary.AddSalaryWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="Добавление зарплаты"
|
|
Height="500" 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" />
|
|
|
|
<Grid Margin="0,60">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<!-- Поле для сотрудника -->
|
|
<StackPanel Grid.Row="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="0,10">
|
|
<Label Content="Сотрудник" Foreground="White" HorizontalAlignment="Center"/>
|
|
<ComboBox x:Name="EmployeeComboBox" Width="400" Height="40"
|
|
Background="White" Margin="0,5"
|
|
ToolTip="Выберите сотрудника" />
|
|
</StackPanel>
|
|
|
|
<!-- Поле для количества часов -->
|
|
<StackPanel Grid.Row="1" Grid.Column="0" HorizontalAlignment="Center" Margin="0,10">
|
|
<Label Content="Количество часов" Foreground="White" HorizontalAlignment="Center"/>
|
|
<TextBox x:Name="HoursTextBox" Width="200" Height="40"
|
|
Margin="0,5" ToolTip="Введите количество часов" />
|
|
</StackPanel>
|
|
|
|
<!-- Поле для ставки -->
|
|
<StackPanel Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" Margin="0,10">
|
|
<Label Content="Цена за час" Foreground="White" HorizontalAlignment="Center"/>
|
|
<TextBox x:Name="PriceTextBox" Width="200" Height="40"
|
|
Margin="0,5" ToolTip="Введите ставку" />
|
|
</StackPanel>
|
|
|
|
<!-- Поле для премии -->
|
|
<StackPanel Grid.Row="2" Grid.Column="0" HorizontalAlignment="Center" Margin="0,10">
|
|
<Label Content="Премия" Foreground="White" HorizontalAlignment="Center"/>
|
|
<TextBox x:Name="PremiumTextBox" Width="200" Height="40"
|
|
Margin="0,5" ToolTip="Введите премию (если есть)" />
|
|
</StackPanel>
|
|
|
|
<!-- Поле для даты -->
|
|
<StackPanel Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" Margin="0,10">
|
|
<Label Content="Дата" Foreground="White" HorizontalAlignment="Center"/>
|
|
<DatePicker x:Name="DatePicker" Width="200" Height="40"
|
|
Margin="0,5" ToolTip="Выберите дату выплаты" />
|
|
</StackPanel>
|
|
|
|
<Button Grid.Row="4" Grid.ColumnSpan="2" Content="Сохранить"
|
|
Width="200" Height="40"
|
|
Background="#004890" Foreground="White"
|
|
Margin="0,10"
|
|
Click="SaveButton_Click" HorizontalAlignment="Center"/>
|
|
</Grid>
|
|
</Grid>
|
|
</Window>
|