Demka/Demka-2/Views/ServiceFormWindow.axaml

32 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-12-27 11:47:18 +00:00
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Demka_2.Views.ServiceFormWindow"
Width="1200"
Height="800"
Title="Редактор Услуг">
<StackPanel Margin="10">
<TextBlock Text="Название" />
<TextBox Name="NameTextBox" />
<TextBlock Text="Стоимость" Margin="0,10" />
<TextBox Name="PriceTextBox" />
<TextBlock Text="Скидка (%)" Margin="0,10" />
<TextBox Name="DiscountTextBox" />
<TextBlock Text="Длительность (минуты)" Margin="0,10" />
<TextBox Name="DurationTextBox" />
<TextBlock Text="Описание" Margin="0,10" />
<TextBox Name="DescriptionTextBox" AcceptsReturn="True" Height="80" />
<TextBlock Text="Изображение" Margin="0,10" />
<StackPanel Orientation="Horizontal">
<Image Name="ThumbnailImage" Width="100" Height="100" Margin="0,0,10,0" />
<Button Content="Выбрать изображение" Name="SelectImageButton" />
</StackPanel>
<Button Content="Сохранить" Name="SaveButton" Margin="0,20" HorizontalAlignment="Center" />
</StackPanel>
</Window>