35 lines
1.8 KiB
XML
35 lines
1.8 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:vm="using:AvaloniaApplication14_Inventory_300326.ViewModels"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
x:Class="AvaloniaApplication14_Inventory_300326.Views.EmployeeEditingWindow"
|
|
Title="EmployeeWindow"
|
|
x:DataType="vm:EmployeeEditingWindowViewModel"
|
|
SizeToContent="WidthAndHeight"
|
|
WindowStartupLocation="CenterOwner">
|
|
|
|
<StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Label Content="Фамилия Имя отчество: "></Label>
|
|
<TextBox Watermark="ФИО"></TextBox>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Label Content="Должность: "></Label>
|
|
<ComboBox ItemsSource="{Binding Positions}" SelectedItem="{Binding SelectedPosition}">
|
|
<ComboBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<Label Content="{Binding Name}"></Label>
|
|
</DataTemplate>
|
|
</ComboBox.ItemTemplate>
|
|
</ComboBox>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Button x:Name="ConfirmButton" Command="{Binding ConfirmCommand}"></Button>
|
|
<Button Content="Назад" Command="{Binding CancelCommand}"></Button>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
</Window>
|