コード例 #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;
 }