public BusSearchHistory() { this.InitializeComponent(); HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; }
protected override void OnNavigatedTo(NavigationEventArgs e) { HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; }
protected override void OnNavigatedTo(NavigationEventArgs e) { HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; switch (PageNavigationMode.Mode) { case "Top": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Top } }; break; } case "Bottom": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Bottom } }; break; } case "Left": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Left } }; break; } case "Right": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Right } }; break; } default: { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Top } }; break; } } }
public BusPickDropPoint() { this.InitializeComponent(); HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; WM = new ValidationSelectPoint(); this.NavigationCacheMode = NavigationCacheMode.Required; }
public PasangerInformation() { this.InitializeComponent(); HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; WM = new PassengerRequiredfield(); PassengerIn _PassengerIn = new PassengerIn(); ListMenuItemsPassenger.DataContext = _PassengerIn; }
public BusSeatSelection() { this.InitializeComponent(); HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; seatlayoutContext = new getSeatlayout(); this.DataContext = seatlayoutContext; }
public TripSearch() { this.InitializeComponent(); HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; imgBackBlur.Source = homeModel.bgBlurImage; LayoutRoot.Margin = new Thickness(0, 0, 0, 0); DetailsTap.Visibility = Visibility.Visible; ListMenuItems.Visibility = Visibility.Visible; SliderPrice(); SliderTime(); }
protected override void OnNavigatedTo(NavigationEventArgs e) { var nav = (PickupDropoffRequest)e.Parameter; if (nav != null) { numberOfseats = Convert.ToInt32(nav.numberOfSeats); } else { numberOfseats = Convert.ToInt32(pickDropHelper.objGetPickDrop.numberOfSeats); } HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; postXMLData1(); FirstCall(); }
/// <summary> /// Invoked when this page is about to be displayed in a Frame. /// </summary> /// <param name="e">Event data that describes how this page was reached. /// This parameter is typically used to configure the page.</param> /// protected override void OnNavigatedTo(NavigationEventArgs e) { var nav = (PassengerInfoDetails)e.Parameter; if(nav!=null) { Name = nav.passengerName.FirstOrDefault(); Email = nav.Email; mobile = nav.Mobile; Totalamount = nav.TotalAmount; } HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; switch (PageNavigationMode.Mode) { case "Top": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Top } }; break; } case "Bottom": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Bottom } }; break; } case "Left": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Left } }; break; } case "Right": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Right } }; break; } default: { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Top } }; break; } } }
public BusSearch() { try { this.InitializeComponent(); HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; this.NavigationCacheMode = NavigationCacheMode.Required; _timer = new DispatcherTimer(); arrivalDatePicker.Date.ToString("dd MMM yyyy"); arrivalDatePicker.MinYear = Convert.ToDateTime(DateTime.Now); } catch { } }
protected override void OnNavigatedTo(NavigationEventArgs e) { HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; PlaceList m = new PlaceList(); if (e.Parameter != null) { parameter = e.Parameter.ToString(); if (parameter == "fromlocation" || parameter == "fromlocationsearchreturn") { txtBTitle.Text = "Departure City"; } if (parameter == "tolocation" || parameter == "tolocationsearchreturn") { txtBTitle.Text = "Arrival City"; } switch (parameter) { case "fromlocation": parameter = "fromlocation"; break; case "tolocation": parameter = "tolocation"; break; case "fromlocationsearchreturn": parameter = "fromlocationsearchreturn"; break; case "tolocationsearchreturn": parameter = "tolocationsearchreturn"; break; } } postXMLData1(); }
protected override void OnNavigatedTo(NavigationEventArgs e) { ContentReturn.Visibility = Visibility.Collapsed; HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; imgBackBlur.Source = homeModel.bgBlurImage; maxPrice = Convert.ToInt32(txtBMaxPrice.Text); maxTime = Convert.ToInt32(txtBMaxTime.Text); if (e.Parameter is getBusSearch) { var nav = (getBusSearch)e.Parameter; if (nav.Label =="ReturneBusSearch") { if (nav.LabelReturn == "FirstTrip") { CommantripType = "FirstTrip"; lblFromPlace.Text = nav.placeCodeFrom; lblToPlace.Text = nav.placeCodeTo; lblJrnyDate.Text = nav.Date; txtBFromLocationT.Text = nav.Fromplace; txtBToLocationT.Text = nav.Toplace; txtBDateTab.Text = nav.Date; txtBFromCode.Text = nav.placeCodeFrom; txtBFromID.Text = nav.placeIDFrom; txtBToCode.Text = nav.placeCodeTo; txtBToID.Text = nav.placeIDTo; DetailsTap.Visibility = Visibility.Visible; ListMenuItems.Visibility = Visibility.Visible; string d = nav.Date; System.DateTime dt = System.DateTime.ParseExact(d, "dd MMM yyyy", CultureInfo.InvariantCulture); txtBPreDayTab.IsTapEnabled = PreviousDayTab.IsTapEnabled = (dt.Date > System.DateTime.Now.Date); } else if (nav.LabelReturn == "RoundTrip") { ContentReturn.Visibility = Visibility.Visible; CommantripType = "RoundTrip"; lblFromPlace.Text = nav.placeCodeTo; lblToPlace.Text = nav.placeCodeFrom; lblJrnyDate.Text = nav.DateReturn; txtBFromLocationT.Text = nav.Toplace; txtBToLocationT.Text = nav.Fromplace; txtBDateTab.Text = nav.DateReturn; txtBFromCode.Text = nav.placeCodeTo; txtBFromID.Text = nav.placeIDTo; txtBToCode.Text = nav.placeCodeFrom; txtBToID.Text = nav.placeIDFrom; DetailsTap.Visibility = Visibility.Visible; ListMenuItems.Visibility = Visibility.Visible; string d = nav.DateReturn; System.DateTime dt = System.DateTime.ParseExact(d, "dd MMM yyyy", CultureInfo.InvariantCulture); txtBPreDayTab.IsTapEnabled = PreviousDayTab.IsTapEnabled = (dt.Date > System.DateTime.Now.Date); txtbCorpCode.Text = pickDropHelper.objGetASReturn.corpCode; txtbDTripPrice.Text = pickDropHelper.objGetASReturn.fare; txtbFromDateD.Text = pickDropHelper.objGetASReturn.journeyDate; txtbFromLocationD.Text = pickDropHelper.objGetASReturn.placeNameFrom; txtbFromTimeD.Text = pickDropHelper.objGetASReturn.arrivalTime; txtTotalTime.Text = pickDropHelper.objGetASReturn.journeyHours; txtviaRout.Text = pickDropHelper.objGetASReturn.viaPlaces; txtbToDateD.Text = pickDropHelper.objGetASReturn.journeyDate; txtbToLocationD.Text = pickDropHelper.objGetASReturn.placeNameTo; txtbToTimeD.Text = pickDropHelper.objGetASReturn.departureTime; } } else if (nav.Label == "SingleBusSearch") { lblFromPlace.Text = nav.placeCodeFrom; lblToPlace.Text = nav.placeCodeTo; lblJrnyDate.Text = nav.Date; txtBFromLocationT.Text = nav.Fromplace; txtBToLocationT.Text = nav.Toplace; txtBDateTab.Text = nav.Date; txtBFromCode.Text = nav.placeCodeFrom; txtBFromID.Text = nav.placeIDFrom; txtBToCode.Text = nav.placeCodeTo; txtBToID.Text = nav.placeIDTo; DetailsTap.Visibility = Visibility.Visible; ListMenuItems.Visibility = Visibility.Visible; string d = nav.Date; System.DateTime dt = System.DateTime.ParseExact(d, "dd MMM yyyy", CultureInfo.InvariantCulture); txtBPreDayTab.IsTapEnabled = PreviousDayTab.IsTapEnabled = (dt.Date > System.DateTime.Now.Date); } else { lblFromPlace.Text = nav.placeCodeFrom; lblToPlace.Text = nav.placeCodeTo; lblJrnyDate.Text = nav.Date; txtBFromLocationT.Text = nav.Fromplace; txtBToLocationT.Text = nav.Toplace; txtBDateTab.Text = nav.Date; txtBFromCode.Text = nav.placeCodeFrom; txtBFromID.Text = nav.placeIDFrom; txtBToCode.Text = nav.placeCodeTo; txtBToID.Text = nav.placeIDTo; DetailsTap.Visibility = Visibility.Visible; ListMenuItems.Visibility = Visibility.Visible; string d = nav.Date; System.DateTime dt = System.DateTime.ParseExact(d, "dd MMM yyyy", CultureInfo.InvariantCulture); txtBPreDayTab.IsTapEnabled = PreviousDayTab.IsTapEnabled = (dt.Date > System.DateTime.Now.Date); } } else { var nav = pickDropHelper.objGetAvailableService; if (nav != null) { lblFromPlace.Text = nav.placeCodeFrom; lblToPlace.Text = nav.placeCodeTo; lblJrnyDate.Text = nav.journeyDate; txtBFromLocationT.Text = nav.placeNameFrom; txtBToLocationT.Text = nav.placeNameTo; string d1 = nav.journeyDate; System.DateTime dt1 = System.DateTime.ParseExact(d1, "dd/MM/yyyy", CultureInfo.InvariantCulture); txtBDateTab.Text = dt1.ToString("dd MMM yyyy"); txtBFromCode.Text = nav.placeCodeFrom; txtBFromID.Text = nav.placeIDFrom; txtBToCode.Text = nav.placeCodeTo; txtBToID.Text = nav.placeIDto; DetailsTap.Visibility = Visibility.Visible; ListMenuItems.Visibility = Visibility.Visible; string d = txtBDateTab.Text; System.DateTime dt = System.DateTime.ParseExact(d, "dd MMM yyyy", CultureInfo.InvariantCulture); txtBPreDayTab.IsTapEnabled = PreviousDayTab.IsTapEnabled = (dt.Date > System.DateTime.Now.Date); } } postXMLData1(); }
/// <summary> /// Invoked when this page is about to be displayed in a Frame. /// </summary> /// <param name="e">Event data that describes how this page was reached. /// This parameter is typically used to configure the page.</param> /// protected override void OnNavigatedTo(NavigationEventArgs e) { var nav = (PassengerInfoDetails)e.Parameter; if (nav != null) { foreach (var list in nav.passengerName) { obj.passengerName = nav.passengerName; obj.passengerGender = nav.passengerGender; obj.passengerAge = nav.passengerAge; obj.IDProof = nav.IDProof; obj.Mobile = nav.Mobile; obj.Email = nav.Email; obj.TotalAmount = txtbTotalPrice.Text; break; } } switch (PageNavigationMode.Mode) { case "Top": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Top } }; break; } case "Bottom": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Bottom } }; break; } case "Left": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Left } }; break; } case "Right": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Right } }; break; } default: { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Top } }; break; } } HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; }
public Home() { try { this.InitializeComponent(); HomeModel homeModel = new HomeModel(); CommonModel.isUserLogin = false; CommonModel.bgImage = homeModel.bgBlurImage; homeModel.isUserLogin = CommonModel.isUserLogin; homeModel.isBusCodesAvailble = true; homeModel.isCabCodesAvailble = true; homeModel.isHotelCodesAvailble = true; if (CommonModel.isUserLogin) { homeModel.userImage = new Windows.UI.Xaml.Media.Imaging.BitmapImage(new Uri("ms-appx:///Assets/hdpi/home_logged_in.png", UriKind.RelativeOrAbsolute)); } IList<OfferList> _TextLists = new List<OfferList>(); OfferList item = new OfferList(); item.OfferText = "500rs Off on hotel Booking 500rs Off on hotel Booking"; item.OfferCode = "BIHOTEL500"; _TextLists.Add(item); OfferList item1 = new OfferList(); item1.OfferText = "100rs cashback on your cab Booking"; item1.OfferCode = "BICAb100"; _TextLists.Add(item1); OfferList item2 = new OfferList(); item2.OfferText = "100rs Off on next bus Booking"; item2.OfferCode = "BIBUS10000"; _TextLists.Add(item2); for (int i = 0; i < 5; i++) { OfferList item3 = new OfferList(); item3.OfferText = "200 Rs OFf on cab booking"; item3.OfferCode = "BIBus200"; _TextLists.Add(item3); } ListBoxBusCode.ItemsSource = _TextLists.ToList(); List<MytripList> tripList = new List<MytripList>(); for (int i = 0; i < 5; i++) { MytripList trip = new MytripList(); trip.From = "BANGLORE" + i; trip.To = "MANGLORE" + i; trip.travelby = "BUS"; trip.departtime = "10:30 AM"; trip.arrivaltime = "3:30 PM"; trip.datedepart = "18th feb 2015"; tripList.Add(trip); } MyTripList.ItemsSource = tripList.ToList(); this.DataContext = homeModel; this.InitializeComponent(); Frame mainFrame = Window.Current.Content as Frame; mainFrame.ContentTransitions = null; } catch (Exception) { throw; } }
protected override void OnNavigatedTo(NavigationEventArgs e) { arrivalDatePicker.Date.Equals(arrivalDatePicker.Date.ToString("dd MMM yyyy")); try { HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; arrivalDatePicker.MinYear = Convert.ToDateTime(DateTime.Now); var nav = (PlaceList)e.Parameter; if (e.Parameter != null) { string l1 = nav.Label; if (l1 == "fromlocation") { lblSourceNameoneway.Text = nav.PlaceName; lblSourceCodeNameoneway.Text = nav.PlaceCode; lblSourceIDNameoneway.Text = nav.PlaceID; lblSourcrReturnName.Text = nav.PlaceName; } else if (l1 == "tolocation") { lblDestinationNameoneway.Text = nav.PlaceName; lblDestinationCodeNameoneway.Text = nav.PlaceCode; lblDestinationIDNameoneway.Text = nav.PlaceID; lblDestReturnName.Text = nav.PlaceName; } else if (l1 == "fromlocationsearchreturn") { lblSourcrReturnName.Text = nav.PlaceName; // lblSourceNameoneway.Text = nav.PlaceName; lblSourceCodeNameoneway.Text = nav.PlaceCode; lblSourceIDNameoneway.Text = nav.PlaceID; lblSourcrReturnName.Text = nav.PlaceName; stackBlueOne.Visibility = Visibility.Visible; stackBlue.Visibility = Visibility.Collapsed; OneWayGrid.Visibility = Visibility.Collapsed; ReturnGrid.Visibility = Visibility.Visible; } else if (l1 == "tolocationsearchreturn") { lblDestReturnName.Text = nav.PlaceName; lblDestinationCodeNameoneway.Text = nav.PlaceCode; lblDestinationIDNameoneway.Text = nav.PlaceID; lblDestReturnName.Text = nav.PlaceName; stackBlueOne.Visibility = Visibility.Visible; stackBlue.Visibility = Visibility.Collapsed; OneWayGrid.Visibility = Visibility.Collapsed; ReturnGrid.Visibility = Visibility.Visible; } else { } } switch (PageNavigationMode.Mode) { case "Top": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Top } }; break; } case "Bottom": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Bottom } }; break; } case "Left": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Left } }; break; } case "Right": { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Right } }; break; } default: { Frame.ContentTransitions = new TransitionCollection { new PaneThemeTransition { Edge = EdgeTransitionLocation.Top } }; break; } } postXMLData1(); } catch { } }
public Home() { this.InitializeComponent(); HomeModel homeModel = new HomeModel(); CommonModel.isUserLogin = false; CommonModel.bgImage = homeModel.bgBlurImage; homeModel.isUserLogin = CommonModel.isUserLogin; homeModel.isBusCodesAvailble = true; homeModel.isCabCodesAvailble = true; homeModel.isHotelCodesAvailble = true; if (CommonModel.isUserLogin) { homeModel.userImage = new Windows.UI.Xaml.Media.Imaging.BitmapImage(new Uri("ms-appx:///Assets/hdpi/home_logged_in.png", UriKind.RelativeOrAbsolute)); } IList <OfferList> _TextLists = new List <OfferList>(); OfferList item = new OfferList(); item.OfferText = "500rs Off on hotel Booking 500rs Off on hotel Booking"; item.OfferCode = "BIHOTEL500"; _TextLists.Add(item); OfferList item1 = new OfferList(); item1.OfferText = "100rs cashback on your cab Booking"; item1.OfferCode = "BICAb100"; _TextLists.Add(item1); OfferList item2 = new OfferList(); item2.OfferText = "100rs Off on next bus Booking"; item2.OfferCode = "BIBUS10000"; _TextLists.Add(item2); for (int i = 0; i < 5; i++) { OfferList item3 = new OfferList(); item3.OfferText = "200 Rs OFf on cab booking"; item3.OfferCode = "BIBus200"; _TextLists.Add(item3); } ListBoxBusCode.ItemsSource = _TextLists.ToList(); //ListBoxHotelCodes.ItemsSource = _TextLists.ToList(); //ListBoxCabCode.ItemsSource = _TextLists.ToList(); List <MytripList> tripList = new List <MytripList>(); for (int i = 0; i < 5; i++) { MytripList trip = new MytripList(); trip.From = "BANGLORE" + i; trip.To = "MANGLORE" + i; trip.travelby = "BUS"; trip.departtime = "10:30 AM"; trip.arrivaltime = "3:30 PM"; trip.datedepart = "18th feb 2015"; tripList.Add(trip); } MyTripList.ItemsSource = tripList.ToList(); this.DataContext = homeModel; this.InitializeComponent(); Frame mainFrame = Window.Current.Content as Frame; mainFrame.ContentTransitions = null; UserImageLogo.Tapped += UserImageLogo_Tapped; }
protected override void OnNavigatedTo(NavigationEventArgs e) { HomeModel homeModel = new HomeModel(); CommonModel.bgImage = homeModel.bgImage; imgBack.Source = homeModel.bgImage; try { if (e.Parameter is GetAvailableService) { var _objectGetAvailableService = (GetAvailableService)e.Parameter; if (_objectGetAvailableService != null) { if (_objectGetAvailableService.tripType == "RoundTrip") { CommanTripType = "RoundTrip"; postXMLData1(_objectGetAvailableService); placeCodeFrom.Text = _objectGetAvailableService.placeCodeFrom; placeCodeTo.Text = _objectGetAvailableService.placeCodeTo; placeIDFrom.Text = _objectGetAvailableService.placeIDFrom; placeIDFrom.Text = _objectGetAvailableService.placeIDto; placeNameFrom.Text = _objectGetAvailableService.placeNameFrom; placeNameTo.Text = _objectGetAvailableService.placeNameTo; arrivalDate.Text = _objectGetAvailableService.arrivalDate; } else if (_objectGetAvailableService.tripType == "FirstTrip") { CommanTripType = "FirstTrip"; postXMLData1(_objectGetAvailableService); placeCodeFrom.Text = _objectGetAvailableService.placeCodeFrom; placeCodeTo.Text = _objectGetAvailableService.placeCodeTo; placeIDFrom.Text = _objectGetAvailableService.placeIDFrom; placeIDFrom.Text = _objectGetAvailableService.placeIDto; placeNameFrom.Text = _objectGetAvailableService.placeNameFrom; placeNameTo.Text = _objectGetAvailableService.placeNameTo; arrivalDate.Text = _objectGetAvailableService.arrivalDate; } else { postXMLData1(_objectGetAvailableService); placeCodeFrom.Text = _objectGetAvailableService.placeCodeFrom; placeCodeTo.Text = _objectGetAvailableService.placeCodeTo; placeIDFrom.Text = _objectGetAvailableService.placeIDFrom; placeIDFrom.Text = _objectGetAvailableService.placeIDto; placeNameFrom.Text = _objectGetAvailableService.placeNameFrom; placeNameTo.Text = _objectGetAvailableService.placeNameTo; arrivalDate.Text = _objectGetAvailableService.arrivalDate; } } } else if(e.Parameter is pickDropHelper) { var _objectGetAvailableService = pickDropHelper.objGetAvailableService; postXMLData1(_objectGetAvailableService); placeCodeFrom.Text = _objectGetAvailableService.placeCodeFrom; placeCodeTo.Text = _objectGetAvailableService.placeCodeTo; placeIDFrom.Text = _objectGetAvailableService.placeIDFrom; placeIDFrom.Text = _objectGetAvailableService.placeIDto; placeNameFrom.Text = _objectGetAvailableService.placeNameFrom; placeNameTo.Text = _objectGetAvailableService.placeNameTo; arrivalDate.Text = _objectGetAvailableService.arrivalDate; } else { var _objectGetAvailableService = pickDropHelper.objGetAvailableService; postXMLData1(_objectGetAvailableService); placeCodeFrom.Text = _objectGetAvailableService.placeCodeFrom; placeCodeTo.Text = _objectGetAvailableService.placeCodeTo; placeIDFrom.Text = _objectGetAvailableService.placeIDFrom; placeIDFrom.Text = _objectGetAvailableService.placeIDto; placeNameFrom.Text = _objectGetAvailableService.placeNameFrom; placeNameTo.Text = _objectGetAvailableService.placeNameTo; arrivalDate.Text = _objectGetAvailableService.arrivalDate; } } catch (Exception ) { } }