Exemplo n.º 1
0
        protected virtual void OnDeviceArrived(DeviceArrivedEventArgs e)
        {
            EventHandler <DeviceArrivedEventArgs> handler = DeviceArrived;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 2
0
 void broadcastReceiver_DeviceArrived(object sender, DeviceArrivedEventArgs e)
 {
     CheckDevice(e.DeviceID);
 }