//private void Sonar(string file) //{ // PlaySound(file, new System.IntPtr(), PlaySoundFlags.SND_SYNC); //} // // RUTINAS DE GPS // // protected void gps_LocationChanged(object sender, LocationChangedEventArgs args) { position = args.Position; // call the UpdateData method via the updateDataHandler so that we // update the UI on the UI thread Invoke(updateDataHandler); }