예제 #1
0
        public int OnDeviceAdded(string DeviceId)
        {
            DeviceAddedEventArgs arg = new DeviceAddedEventArgs(DeviceId);

            _DeviceEnumerator.FireDeviceAddedEvent(arg);
            return(0);
        }
예제 #2
0
        internal void FireDeviceAddedEvent(DeviceAddedEventArgs e)
        {
            DeviceAddedEventHandler del = OnDeviceAdded;

            if (del != null)
            {
                del(this, e);
            }
        }
예제 #3
0
 internal void FireDeviceAddedEvent(DeviceAddedEventArgs e)
 {
     DeviceAddedEventHandler del = OnDeviceAdded;
     if (del != null) del(this, e);
 }
예제 #4
0
 public int OnDeviceAdded(string DeviceId)
 {
     DeviceAddedEventArgs arg = new DeviceAddedEventArgs(DeviceId);
     _DeviceEnumerator.FireDeviceAddedEvent(arg);
     return 0;
 }