/// <summary> /// Selects the construction closure. /// </summary> /// <param name="roadway">The roadway.</param> private void SelectConstructionClosure(Roadway roadway) { this.NavigationService.Navigate(new Uri(string.Format("/Views/ConstructionClosureView.xaml?roadway={0}", Uri.EscapeDataString(roadway.Name)), UriKind.Relative)); }
/// <summary> /// Selects the travel time roadway. /// </summary> /// <param name="roadway">The roadway.</param> private void SelectTravelTimeRoadway(Roadway roadway) { this.NavigationService.Navigate(new Uri(string.Format("/Views/TravelTimeView.xaml?roadwayid={0}&roadwayname={1}", Uri.EscapeDataString(roadway.ID), Uri.EscapeDataString(roadway.Name)), UriKind.Relative)); }
/// <summary> /// Selects the roadway. /// </summary> /// <param name="roadway">The roadway.</param> private void SelectRoadway(Roadway roadway) { if (roadway != null) { this.NavigationService.Navigate(new Uri(string.Format("/Views/CameraListView.xaml?type={0}&name={1}", this._cameraType.ToString(), Uri.EscapeUriString(roadway.Name)), UriKind.Relative)); } }