Пример #1
0
        private void addJourney_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            var addJourneyScreen = new EditJourney();

            addJourneyScreen.Dying += ScreenClosing;
            this.Hide();
            addJourneyScreen.Show();
        }
Пример #2
0
        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();
        }