alle fehler korigieren , alles ui ist funktionfähig , muss aber implementiert werden
This commit is contained in:
@@ -15,14 +15,50 @@ using System.Windows.Shapes;
|
||||
|
||||
namespace SkyTeam
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for reservierungsSuche.xaml
|
||||
/// </summary>
|
||||
public partial class reservierungsSuche : Page
|
||||
|
||||
public partial class ReservierungssuchePage : Page
|
||||
{
|
||||
public reservierungsSuche()
|
||||
public ReservierungssuchePage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void SearchFlights_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
((MainWindow)Application.Current.MainWindow).MainFrame.Navigate(new verfuegbareFluge());
|
||||
|
||||
}
|
||||
private void HomeButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
((MainWindow)Application.Current.MainWindow).MainFrame.Navigate(new NavigationPage());
|
||||
}
|
||||
|
||||
private void BookingsButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
((MainWindow)Application.Current.MainWindow).MainFrame.Navigate(new BuchungenPage());
|
||||
}
|
||||
|
||||
private void SettingsButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
((MainWindow)Application.Current.MainWindow).MainFrame.Navigate(new SettingsPage());
|
||||
}
|
||||
|
||||
private void LogoutButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var result = MessageBox.Show(
|
||||
"Möchten Sie sich wirklich abmelden?",
|
||||
"Abmelden",
|
||||
MessageBoxButton.YesNo,
|
||||
MessageBoxImage.Question);
|
||||
if (result == MessageBoxResult.Yes)
|
||||
{
|
||||
((MainWindow)Application.Current.MainWindow).MainFrame.Navigate(new LogInPage());
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user