dmeo040225/NewOrder.axaml
2025-03-02 16:05:35 +03:00

32 lines
1.6 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"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="dmeo040225.NewOrder"
Title="NewOrder">
<Border Background="Bisque">
<DockPanel>
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal" Background="Gray" Height="30">
<Button Content="Назад" Click="Back_OnClick" Width="120" Background="LightGray" Foreground="Black" HorizontalAlignment="Left" DockPanel.Dock="Left"/>
<TextBlock x:Name="TimerText" Foreground="White" Margin="10,5,0,0" HorizontalAlignment="Center"/>
</StackPanel>
<StackPanel Spacing="5" VerticalAlignment="Center" HorizontalAlignment="Center">
<TextBlock Text="ID заказа:"/>
<TextBox x:Name="OrderIdTextBox" IsReadOnly="True"/>
<TextBlock Text="Время проката в минутах:"/>
<TextBox x:Name="PeriodTextBox"/>
<TextBlock Text="Выберите клиента:"/>
<ComboBox x:Name="OrderClientComboBox"/>
<TextBlock Text="Выберите услуги:"/>
<ListBox x:Name="OrderServicesListBox" SelectionMode="Multiple"/>
<Button Content="Сформировать заказ" Click="CreateOrderButton_OnClick"/>
</StackPanel>
</DockPanel>
</Border>
</Window>