fix von viel errors in GUI und logik dahinter
This commit is contained in:
@@ -105,6 +105,7 @@
|
||||
<DataGridTextColumn Header="Pilot" Binding="{Binding Pilot}" Width="100"/>
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
|
||||
<Button Grid.Row="1" VerticalAlignment="Top" HorizontalAlignment="Right" Content="Flug Löschen" Background="#D32F2F" Foreground="White" Margin="0,-40,0,0" Padding="10,5" Click="DeleteFlight_Click"/>
|
||||
|
||||
<Border Grid.Row="2" Background="{DynamicResource CardBackground}" CornerRadius="8" Padding="15" BorderBrush="#DDD" BorderThickness="1">
|
||||
@@ -124,12 +125,50 @@
|
||||
|
||||
<StackPanel Margin="5">
|
||||
<Label Content="Von:"/>
|
||||
<TextBox x:Name="AddFromTxt"/>
|
||||
<ComboBox x:Name="AddFromCombo" IsEditable="True">
|
||||
<ComboBoxItem Content="Berlin"/>
|
||||
<ComboBoxItem Content="München"/>
|
||||
<ComboBoxItem Content="Frankfurt"/>
|
||||
<ComboBoxItem Content="Hamburg"/>
|
||||
<ComboBoxItem Content="Paris"/>
|
||||
<ComboBoxItem Content="London"/>
|
||||
<ComboBoxItem Content="Madrid"/>
|
||||
<ComboBoxItem Content="Rom"/>
|
||||
<ComboBoxItem Content="Lissabon"/>
|
||||
<ComboBoxItem Content="Wien"/>
|
||||
<ComboBoxItem Content="Zürich"/>
|
||||
<ComboBoxItem Content="Amsterdam"/>
|
||||
<ComboBoxItem Content="Prag"/>
|
||||
<ComboBoxItem Content="Budapest"/>
|
||||
<ComboBoxItem Content="Warschau"/>
|
||||
<ComboBoxItem Content="Paderborn"/>
|
||||
</ComboBox>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Column="1" Margin="5">
|
||||
<Label Content="Nach:"/>
|
||||
<TextBox x:Name="AddToTxt"/>
|
||||
<ComboBox x:Name="AddToCombo" IsEditable="True">
|
||||
<ComboBoxItem Content="Mallorca"/>
|
||||
<ComboBoxItem Content="Berlin"/>
|
||||
<ComboBoxItem Content="München"/>
|
||||
<ComboBoxItem Content="Frankfurt"/>
|
||||
<ComboBoxItem Content="Hamburg"/>
|
||||
<ComboBoxItem Content="Paris"/>
|
||||
<ComboBoxItem Content="London"/>
|
||||
<ComboBoxItem Content="Madrid"/>
|
||||
<ComboBoxItem Content="Rom"/>
|
||||
<ComboBoxItem Content="Lissabon"/>
|
||||
<ComboBoxItem Content="Wien"/>
|
||||
<ComboBoxItem Content="Zürich"/>
|
||||
<ComboBoxItem Content="Amsterdam"/>
|
||||
<ComboBoxItem Content="Prag"/>
|
||||
<ComboBoxItem Content="Budapest"/>
|
||||
<ComboBoxItem Content="Tokio"/>
|
||||
<ComboBoxItem Content="New York"/>
|
||||
<ComboBoxItem Content="Dubai"/>
|
||||
</ComboBox>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Column="2" Margin="5">
|
||||
<Label Content="Datum:"/>
|
||||
<DatePicker x:Name="AddDatePick"/>
|
||||
|
||||
Reference in New Issue
Block a user