Files
CineBook/Views/ScreeningEditDialog.xaml

65 lines
3.5 KiB
XML

<Window x:Class="CineBook.Views.ScreeningEditDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Neue Vorführung" Height="360" Width="440"
WindowStartupLocation="CenterOwner" ResizeMode="NoResize"
Background="#0A0A0A">
<Grid Margin="24">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Text="📅 NEUE VORFÜHRUNG" Style="{StaticResource RetroHeader}" Margin="0,0,0,20"/>
<Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="110"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Text="FILM *" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
<ComboBox x:Name="MovieBox" Grid.Column="1" Height="30" Margin="0,0,0,10"
Background="#111" Foreground="#F5C518" FontFamily="Courier New"/>
<TextBlock Grid.Row="1" Text="DATUM *" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
<DatePicker x:Name="DatePicker" Grid.Row="1" Grid.Column="1" Height="30" Margin="0,0,0,10"
Background="#111" Foreground="#F5C518" FontFamily="Courier New"/>
<TextBlock Grid.Row="2" Text="UHRZEIT *" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
<TextBox x:Name="TimeBox" Grid.Row="2" Grid.Column="1" Style="{StaticResource RetroTextBox}"
Height="30" Margin="0,0,0,10" Text="18:00"/>
<TextBlock Grid.Row="3" Text="SAAL *" Style="{StaticResource RetroLabel}" VerticalAlignment="Center" Margin="0,0,0,10"/>
<ComboBox x:Name="HallBox" Grid.Row="3" Grid.Column="1" Height="30" Margin="0,0,0,10"
Background="#111" Foreground="#F5C518" FontFamily="Courier New">
<ComboBoxItem>Saal 1</ComboBoxItem>
<ComboBoxItem>Saal 2</ComboBoxItem>
<ComboBoxItem>Saal 3</ComboBoxItem>
<ComboBoxItem>VIP-Saal</ComboBoxItem>
</ComboBox>
<TextBlock Grid.Row="4" Text="PREIS (€) *" Style="{StaticResource RetroLabel}" VerticalAlignment="Center"/>
<TextBox x:Name="PriceBox" Grid.Row="4" Grid.Column="1" Style="{StaticResource RetroTextBox}"
Height="30" Text="12.00"/>
</Grid>
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,16,0,0">
<TextBlock x:Name="ErrorText" Foreground="#C0392B" FontFamily="Courier New" FontSize="11"
VerticalAlignment="Center" Margin="0,0,12,0"/>
<Button Content="[ ABBRECHEN ]" Style="{StaticResource RetroButtonGray}" Height="32"
Click="CancelClick" Margin="0,0,8,0"/>
<Button Content="[ SPEICHERN ]" Style="{StaticResource RetroButtonGreen}" Height="32"
Click="SaveClick"/>
</StackPanel>
</Grid>
</Window>