BathhouseManagment/Views/AddWindows/AddServiceWindow.axaml

24 lines
1.2 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.AddServiceWindow"
Title="AddServiceWindow"
x:DataType="viewModels:AddServiceWindowViewModel">
<StackPanel>
<TextBlock Text="Введите название услуги:"/>
<TextBox Text="{Binding ServiceName}"/>
<TextBlock Text="Введите описание услуги:"/>
<TextBox Text="{Binding ServiceDescription}"/>
<TextBlock Text="Введите цену:"/>
<TextBox Text="{Binding ServicePrice}"/>
<Button Content="Сохранить" Command="{Binding AddServiceCommand}"/>
<Button Content="Отменить" Command="{Binding CloseWindowCommand}"/>
</StackPanel>
</Window>