Beispiel #1
0
 private void DigiManager_DevicesFound(object sender, DevicesFoundEventArgs e)
 {
     try
     {
         if (this.InvokeRequired)
         {
             this.Invoke(new DigiManager_DevicesFoundDelegate(DigiManager_DevicesFound), new object[] { sender, e });
         }
         else
         {
             btnRefresh.Enabled   = true;
             btnConfigure.Enabled = true;
             btnReboot.Enabled    = true;
             btnWebConfig.Enabled = true;
         }
     }
     catch (Exception)
     {
     }
 }
Beispiel #2
0
 protected virtual void OnDevicesFound(DevicesFoundEventArgs args)
 {
     DevicesFound?.Invoke(args);
 }