www.pudn.com > GPSTest.rar > LocationChangedEventArgs.cs


#region Using directives 
 
using System; 
 
#endregion 
 
namespace Microsoft.WindowsMobile.Samples.Location 
{ 
    ///  
    /// Event args used for LocationChanged events. 
    ///  
    public class LocationChangedEventArgs: EventArgs 
    { 
        public LocationChangedEventArgs(GpsPosition position) 
        { 
            this.position = position; 
        } 
 
        ///  
        /// Gets the new position when the GPS reports a new position. 
        ///  
        public GpsPosition Position 
        { 
            get  
            { 
                return position; 
            } 
        } 
 
        private GpsPosition position; 
 
    } 
}