Ejemplo n.º 1
0
		/// <summary>
		///     Handles the <see cref="E:ListenerPositionError" /> event.
		/// </summary>
		/// <param name="sender">The sender.</param>
		/// <param name="e">The <see cref="PositionErrorEventArgs" /> instance containing the event data.</param>
		private void OnListenerPositionError(object sender, PositionErrorEventArgs e)
		{
			StopListening();

			var error = PositionError;
			if (error != null)
			{
				error(this, e);
			}
		}
Ejemplo n.º 2
0
		/// <summary>
		/// Handles the <see cref="E:ListeningError" /> event.
		/// </summary>
		/// <param name="sender">The sender.</param>
		/// <param name="e">The <see cref="PositionErrorEventArgs"/> instance containing the event data.</param>
		private void OnListeningError(object sender, PositionErrorEventArgs e)
		{
			TuGrua.RequestService.ThisPage._listenStatus.Text = "Estado:" + e.Error.ToString();
		}
Ejemplo n.º 3
0
		/// <summary>
		/// Handles the <see cref="E:ListeningError" /> event.
		/// </summary>
		/// <param name="sender">The sender.</param>
		/// <param name="e">The <see cref="PositionErrorEventArgs"/> instance containing the event data.</param>
		private void OnListeningError(object sender, PositionErrorEventArgs e)
		{

            TuGrua.DriverView.ThisPage._listenStatus.Text = "GPS Error: " + e.Error.ToString();
        }
		/// <summary>
		///     Handles the <see cref="E:PositionError" /> event.
		/// </summary>
		/// <param name="e">The <see cref="PositionErrorEventArgs" /> instance containing the event data.</param>
		private void OnPositionError(PositionErrorEventArgs e)
		{
			var error = PositionError;
			if (error != null)
			{
				error(this, e);
			}
		}