Example #1
0
 public Form1()
 {
     InitializeComponent();
     DeviceFoundDelegate = new DeviceFound(deviceFound);
     NewSMSDelegate = new NewSMS(newSMS);
     PhoneStateChangedDelegate = new PhoneStateChanged(phoneStateChanged);
 }
 private void OnDeviceFound(SonosDevice e)
 {
     DeviceFound?.Invoke(this, e);
 }
 public int DeviceAdded(int lFindData, IUPnPDevice pDevice)
 {
     DeviceFound?.Invoke(lFindData, pDevice);
     return(default(int));
 }
Example #4
0
        public event EventHandler ScanComplete; // TODO: Implement

        protected virtual void OnDeviceFound(Device device)
        {
            DeviceFound?.Invoke(device, null);
        }
Example #5
0
 static void HandleDeviceFound(object sender, DeviceEventArgs e)
 {
     DeviceFound?.Invoke(sender, e);
 }
Example #6
0
 private void OnDeviceFound(TPLinkSmartDevice device)
 {
     DeviceFound?.Invoke(this, new DeviceFoundEventArgs(device));
 }
 protected virtual void OnDeviceFound(Launch device)
 {
     DeviceFound?.Invoke(this, device);
 }
Example #8
0
 protected virtual void OnDeviceFound(IDevice e)
 {
     DeviceFound?.Invoke(this, e);
 }
Example #9
0
 private static extern Int32 init(DeviceFound deviceFound, NewSMS newSMS, PhoneStateChanged phoneStateChanged, IntPtr param);