public GPSLocationChangedEventArgs(GPS.Position APosition) { Position = APosition; }
private void StartGps() { if (null == m_Gps) { m_Gps = new GPS(); //m_Gps.DeviceStateChanged += new DeviceStateChangedEventHandler(Gps_DeviceStateChanged); //m_Gps.LocationChanged += new LocationChangedEventHandler(Gps_LocationChanged); m_Gps.LocationChanged += Gps_LocationChanged; } m_Gps.Open(); }