using NTwain.Data; using System; namespace NTwain { /// /// Contains event data for a TWAIN source hardware event. /// public class DeviceEventArgs : EventArgs { /// /// Initializes a new instance of the class. /// /// The device event. internal DeviceEventArgs(TWDeviceEvent deviceEvent) { DeviceEvent = deviceEvent; } /// /// Gets the detailed device event. /// /// The device event. public TWDeviceEvent DeviceEvent { get; private set; } } }