示例#1
0
 public void HandleUpdateDeviceEvent(object sender, UpdateDeviceEventArgs args)
 {
     if (sender != null)
     {
         Console.Out.WriteLine("Update Device:");
         this.LogAnnounce(args.NewAnnounce);
     }
 }
示例#2
0
 public void HandleUpdateDeviceEvent(object sender, UpdateDeviceEventArgs args)
 {
     this.updateDevice = true;
     this.announce     = args.NewAnnounce;
     this.oldAnnounce  = args.OldAnnounce;
 }