ErstChanges , braucht immer noch debug ,wahrscheinlich später

This commit is contained in:
younes elhaddoury
2026-01-29 12:57:39 +01:00
parent ecff9e7374
commit 258fbd17e6
17 changed files with 788 additions and 75 deletions

View File

@@ -0,0 +1,34 @@
using System.Windows;
using System.Windows.Controls;
using System.Collections.ObjectModel;
namespace SkyTeam
{
public partial class MeineBuchungenPage : Page
{
public MeineBuchungenPage()
{
InitializeComponent();
LoadBookings();
}
private void LoadBookings()
{
var bookings = new ObservableCollection<object>
{
new { BookingNumber = "SKY001", From = "FRA", To = "JFK", DepartureTime = "2026-02-01 09:00", ArrivalTime = "2026-02-01 13:30", Status = "Bestätigt" },
new { BookingNumber = "SKY002", From = "MUC", To = "LAX", DepartureTime = "2026-02-03 14:20", ArrivalTime = "2026-02-04 08:45", Status = "Geplant" }
};
BookingsDataGrid.ItemsSource = bookings;
}
private void SearchBookingsButton_Click(object sender, RoutedEventArgs e)
{
string from = FromFilterTextBox.Text;
string to = ToFilterTextBox.Text;
MessageBox.Show($"Suche Flüge von {from} nach {to}", "Suche", MessageBoxButton.OK);
}
}
}