private void addJourney_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { var addJourneyScreen = new EditJourney(); addJourneyScreen.Dying += ScreenClosing; this.Hide(); addJourneyScreen.Show(); }
private void addRouteClick(object sender, RoutedEventArgs e) { var editRouteScreen = new EditJourney(selectedTrip.id); editRouteScreen.Dying += ScreenClosing; this.Hide(); editRouteScreen.Show(); oldpath = editRouteScreen.journeyThumbnail.Source.ToString(); }