コード例 #1
0
 public static void UpdateDevice(Device device)
 {
     try
     {
         Display.UpdateDevice(devices.IndexOf(device), device.output);
     }
     catch { } //will throw if device deleted
 }
コード例 #2
0
ファイル: Model.cs プロジェクト: GArysTrousers/device-monitor
 public static void UpdateDevice(Device device)
 {
     try
     {
         Display.UpdateDevice(devices.IndexOf(device), device.output);
     }
     catch { } //if there is a ping request for a deleted device, it will throw
 }