CineBook Projekt hinzugefügt

This commit is contained in:
2026-03-12 14:28:52 +01:00
commit b6357c9b8a
33 changed files with 2857 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
<Window x:Class="CineBook.Views.SeatSelectionDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Sitzplatz wählen" Height="500" Width="560"
WindowStartupLocation="CenterOwner" ResizeMode="NoResize"
Background="#0A0A0A">
<Grid Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Text="🎟 SITZPLATZ AUSWAHL" Style="{StaticResource RetroHeader}" Margin="0,0,0,8"/>
<Border Grid.Row="1" Background="#111" BorderBrush="#333" BorderThickness="1" Padding="12,8" Margin="0,0,0,16">
<StackPanel>
<TextBlock x:Name="MovieInfoText" FontFamily="Courier New" FontSize="13" Foreground="#F5C518"/>
<TextBlock x:Name="ScreeningInfoText" FontFamily="Courier New" FontSize="11" Foreground="#888" Margin="0,4,0,0"/>
</StackPanel>
</Border>
<ScrollViewer Grid.Row="2" VerticalScrollBarVisibility="Auto">
<StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,12">
<Border Width="20" Height="20" Background="#27AE60" CornerRadius="2" Margin="0,0,4,0"/>
<TextBlock Text="Frei" FontFamily="Courier New" FontSize="11" Foreground="#888" Margin="0,0,16,0" VerticalAlignment="Center"/>
<Border Width="20" Height="20" Background="#C0392B" CornerRadius="2" Margin="0,0,4,0"/>
<TextBlock Text="Belegt" FontFamily="Courier New" FontSize="11" Foreground="#888" Margin="0,0,16,0" VerticalAlignment="Center"/>
<Border Width="20" Height="20" Background="#F5C518" CornerRadius="2" Margin="0,0,4,0"/>
<TextBlock Text="Ausgewählt" FontFamily="Courier New" FontSize="11" Foreground="#888" VerticalAlignment="Center"/>
</StackPanel>
<Border Background="#222" Height="8" CornerRadius="4" Margin="20,0,20,16">
<TextBlock Text="L E I N W A N D" FontFamily="Courier New" FontSize="8"
Foreground="#555" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ItemsControl x:Name="SeatsPanel"/>
</StackPanel>
</ScrollViewer>
<Border Grid.Row="3" Background="#111" BorderBrush="#333" BorderThickness="1" Padding="12,8" Margin="0,12,0,12">
<StackPanel Orientation="Horizontal">
<TextBlock Text="AUSGEWÄHLT: " FontFamily="Courier New" FontSize="12" Foreground="#888" VerticalAlignment="Center"/>
<TextBlock x:Name="SelectedSeatText" FontFamily="Courier New" FontSize="12" Foreground="#F5C518" VerticalAlignment="Center"/>
<TextBlock Text=" | PREIS: " FontFamily="Courier New" FontSize="12" Foreground="#888" VerticalAlignment="Center"/>
<TextBlock x:Name="PriceText" FontFamily="Courier New" FontSize="12" Foreground="#27AE60" FontWeight="Bold" VerticalAlignment="Center"/>
</StackPanel>
</Border>
<StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="[ ABBRECHEN ]" Style="{StaticResource RetroButtonGray}" Height="32"
Click="CancelClick" Margin="0,0,8,0"/>
<Button x:Name="BtnConfirm" Content="[ ✓ BUCHUNG BESTÄTIGEN ]" Style="{StaticResource RetroButtonGreen}"
Height="32" Click="ConfirmClick" IsEnabled="False"/>
</StackPanel>
</Grid>
</Window>