Beispiel #1
0
 void nmea_PositionChanged(object sender, PositionEventArgs e)
 {
     if (e == null || e.Position == null || e.Position.IsEmpty || e.Position.IsInvalid)
         return;
     UpdateCurrentPosition(e.Position);
 }
Beispiel #2
0
 private void nmeaInterpreter1_PositionChanged(object sender, PositionEventArgs e)
 {
     BeginInvoke(new MethodInvoker(delegate
                                       {
                                           positionTextBox.Text = e.Position.ToString();
                                           positionLabel.Text = positionTextBox.Text;
                                       }));
 }