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


#region Using directives 
 
using System; 
 
#endregion 
 
namespace Microsoft.WindowsMobile.Samples.Location 
{ 
    ///  
    /// Event args used for DeviceStateChanged event. 
    ///  
    public class DeviceStateChangedEventArgs: EventArgs 
    { 
        public DeviceStateChangedEventArgs(GpsDeviceState deviceState) 
        { 
            this.deviceState = deviceState; 
        } 
 
        ///  
        /// Gets the new device state when the GPS reports a new device state. 
        ///  
        public GpsDeviceState DeviceState 
        { 
            get  
            { 
                return deviceState; 
            } 
        } 
 
        private GpsDeviceState deviceState; 
    } 
}