Пример #1
0
 private void NavigationCompleted(NavigationResult navigationResult)
 {
     if (navigationResult.Result != null)
     {
         if (navigationResult.Result.Value)
         {
             _logger.Info("Navigation successful.");
         }
         else
         {
             _logger.Error("Navigation failed.", navigationResult.Error);
         }
     }
 }
 private void NavigationCompleted(NavigationResult result)
 {
     
 }
Пример #3
0
 private void WhenDone(NavigationResult obj)
 {
     EA.GetEvent<MsgSetupControl>().Publish(new MsgSetupControl() { Typ = SetupEventType.Ui_in_position });
 }
 private void NavigateComplete(NavigationResult result)
 {
     //MessageBox.Show(String.Format("Navigation to {0} complete.", result.Context.Uri));
 }
Пример #5
0
 private void OnNavigation(NavigationResult obj)
 {
     if (this.regionManager.Regions.Any())
     {
         var view = this.regionManager.Regions[RegionNames.DisplayRegion].ActiveViews.Single() as FrameworkElement;
         this.IsDataContextSet = view != null && HasDataContext(view);
     }
 }