35 lines
1.7 KiB
XML
35 lines
1.7 KiB
XML
<Window xmlns="https://github.com/avaloniaui"
|
|
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:viewModels="clr-namespace:BathHouseManagmet.ViewModels"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="BathHouseManagmet.Views.AddWindows.AddEmployeeWindow"
|
|
Title="AddEmployeeWindow"
|
|
x:DataType="viewModels:AddEmployeeWindowViewModel">
|
|
|
|
<StackPanel HorizontalAlignment="Center">
|
|
|
|
<TextBlock Text="Введите имя:"/>
|
|
<TextBox Text="{Binding EmployeeName}"/>
|
|
|
|
<TextBlock Text="Введите фамилию:"/>
|
|
<TextBox Text="{Binding EmployeeSurname}"/>
|
|
|
|
<TextBlock Text="Выберите должность:"/>
|
|
<!-- <ComboBox ItemsSource="{Binding EmployeePosition}"
|
|
SelectedItem="{Binding SelectedPosition}">
|
|
<ComboBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<TextBlock Text="{Binding Name}" />
|
|
</DataTemplate>
|
|
</ComboBox.ItemTemplate>
|
|
</ComboBox> -->
|
|
|
|
<Button Content="Отменить" HorizontalAlignment="Left" Command="{Binding CloseWindowCommand}"/>
|
|
<Button Content="Сохранить" HorizontalAlignment="Right" Command="{Binding AddEmployeeCommand}"/>
|
|
|
|
</StackPanel>
|
|
|
|
</Window>
|