BathhouseManagment/Views/AddWindows/AddClientWindow.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.AddClientWindow"
Title="AddClientWindow"
x:DataType="viewModels:AddClientWindowViewModel">
<StackPanel>
<TextBlock Text="Введите имя:"/>
<TextBox Text="{Binding ClientName}"/>
<TextBlock Text="Введите фамилию:"/>
<TextBox Text="{Binding ClientSurname}"/>
<TextBlock Text="Введите электронную почту"/>
<TextBox Text="{Binding ClientEmail}"/>
<Button Content="Сохранить" Command="{Binding AddClientCommand}"/>
<Button Content="Отменить" Command="{Binding CloseWindowCommand}"/>
</StackPanel>
</Window>