public Bicicletas() { InitializeComponent(); StatusChecker.Check("Bicicletas"); MobFoxAdControl.PublisherID = App.Configuration.MobFoxID; MobFoxAdControl.TestMode = App.Configuration.MobFoxInTestMode; }
public RadioTaxis() { InitializeComponent(); DataContext = ViewModel; Loaded += RadioTaxis_Loaded; StatusChecker.Check("Taxi.RadioTaxis"); }
public Home() { InitializeComponent(); DataContext = ViewModel; Loaded += (sender, args) => { //_geoQo = new GeocodeQuery(); //_geoQo.QueryCompleted += geoQ_OrigenQueryCompleted; //_geoQd = new GeocodeQuery(); //_geoQd.QueryCompleted += geoQ_DestinoQueryCompleted; if (Initialized) { return; } Initialized = true; _getColectivoMapService = new GetColectivoMapService(); _navHistory = new Stack <int>(); _navHistory.Push(0); BtnGpsOrigen.IsEnabled = App.Configuration.IsLocationEnabled; BtnGpsDestino.IsEnabled = App.Configuration.IsLocationEnabled; ViewModel.BusquedaOrigen.Clear(); ViewModel.BusquedaDestino.Clear(); TxtOrigen.Text = "Seleccione origen"; TxtOrigen.Tap += (o, eventArgs) => { PivotControl.SelectedIndex = 0; }; TxtDestino.Text = "Seleccione destino"; TxtDestino.Tap += (o, eventArgs) => { PivotControl.SelectedIndex = 1; }; }; //Unloaded += (sender, args) => // { // if (_httpReq != null) // _httpReq.Abort(); // if (_geoQo != null) // { // _geoQo.CancelAsync(); // _geoQo.Dispose(); // } // if (_geoQd != null) // { // _geoQd.CancelAsync(); // _geoQd.Dispose(); // } // }; StatusChecker.Check("HomeRuta"); }
public Home() { InitializeComponent(); StatusChecker.Check("Colectivos"); MobFoxAdControl.PublisherID = App.Configuration.MobFoxID; MobFoxAdControl.TestMode = App.Configuration.MobFoxInTestMode; AcBox.ItemsSource = DataColectivos.Repository.Select(x => x.Title); AcBox.FilterMode = AutoCompleteFilterMode.Contains; _getColectivoMapService = new GetColectivoMapService(); }
public BelgranoSur() { InitializeComponent(); DataContext = ViewModel; Loaded += Page_Loaded; Unloaded += (sender, args) => DataService.CancelRequest(); StatusChecker.Check("Trenes.BelgranoSur"); ViewModel.Ramales.Clear(); DataService.EndRequest = EndRequest; DataService.StartRequest = StartRequest; }
public Sarmiento() { InitializeComponent(); DataContext = ViewModel; Loaded += Page_Loaded; Unloaded += (sender, args) => { DataService.CancelRequest(); _dataRealTimeService.CancelRequest(); }; StatusChecker.Check("Trenes.Sarmiento"); ViewModel.Ramales.Clear(); DataService.EndRequest = EndRequest; DataService.StartRequest = StartRequest; }
public Puntos() { InitializeComponent(); TxtVersion.Text = "Versión " + App.Configuration.Version; MobFoxAdControl.PublisherID = App.Configuration.MobFoxID; MobFoxAdControl.TestMode = App.Configuration.MobFoxInTestMode; RegionList.ItemsSource = App.Configuration.GetRegions().Select(x => x.Value); RegionList.SelectedIndex = App.Configuration.SelectedRegion.HasValue ? App.Configuration.SelectedRegion.Value : 0; MarketList.ItemsSource = App.Configuration.GetMarketsByRegions(RegionList.SelectedIndex).Select(x => x.Value); MarketList.SelectedIndex = App.Configuration.SelectedMarket.HasValue ? App.Configuration.SelectedMarket.Value : 0; if (!App.Configuration.SelectedMarket.HasValue || !App.Configuration.SelectedRegion.HasValue) { SetApplicationBarEnabled(false); OptionSelectionPanel.Visibility = Visibility.Visible; } else { if (!App.Configuration.IsRated && App.Configuration.OpenCount > 2) { if (MessageBox.Show("Queres calificar la aplicación?", "Ayudanos a mejorar", MessageBoxButton.OKCancel) == MessageBoxResult.OK) { App.Configuration.IsRated = true; Config.Set(App.Configuration); ShowReviewTask(); } } } StatusChecker.Check("Home"); DataContext = ViewModel; Loaded += Page_Loaded; }
public DondeUsarSUBE() { InitializeComponent(); StatusChecker.Check("SUBE.DondeUsarSUBE"); }
public Trenes() { InitializeComponent(); StatusChecker.Check("TrenesHome"); }
public PerdidaRoboDanio() { InitializeComponent(); StatusChecker.Check("SUBE.PerdidaRoboDanio"); }
public PreguntasFrecuentes() { InitializeComponent(); StatusChecker.Check("SUBE.PreguntasFrecuentes"); }
public Tarifas() { InitializeComponent(); StatusChecker.Check("Taxi.Tarifas"); }
public HomeSUBE() { InitializeComponent(); StatusChecker.Check("SUBE"); }
public ElSistema() { InitializeComponent(); StatusChecker.Check("Bicicletas.ElSistema"); }
public Inscripcion() { InitializeComponent(); StatusChecker.Check("Bicicletas.Inscripcion"); }
public ElServicio() { InitializeComponent(); StatusChecker.Check("Bicicletas.ElServicio"); }
public AtencionAlUsuario() { InitializeComponent(); StatusChecker.Check("SUBE.AtencionAlUsuario"); }