예제 #1
0
 private void SendTripMessage(PageLoadMessage page)
 {
     if (page.Page == ApplicationPage.TripDetails)
     {
         PathResultsModel.SetSelectedPathOption(PathResultsModel.SelectedPathOption.Letter);
     }
 }
예제 #2
0
        public TripDetails()
        {
            InitializeComponent();

            Loaded += (s, e) =>
            {
                Messenger.Default.Register <TripMessage>(this, (action) => DisplayRoute(action));

                // Send a request for the map route to be sent.
                PageLoadMessage.Send(DrumbleApp.Shared.Enums.ApplicationPage.TripDetails);
            };
            Unloaded += (s, e) =>
            {
                Dispose();
            };
        }
 private void SendTripMessage(PageLoadMessage page)
 {
     if (page.Page == ApplicationPage.TripDetails)
     {
         PathResultsModel.SetSelectedPathOption(PathResultsModel.SelectedPathOption.Letter);
     }
 }