private void device_PacketHandlerTransmitted(object sender, PacketStatusEventArg e) { if (this.InvokeRequired) this.BeginInvoke((Delegate)new DeviceViewControl.DevicePacketHandlerTransmittedDelegate(this.OnDevicePacketHandlerTransmitted), sender, (object)e); else this.OnDevicePacketHandlerTransmitted(sender, e); }
private void OnDevicePacketHandlerTransmitted(object sender, PacketStatusEventArg e) { this.packetHandlerView1.PacketNumber = e.Number; }
private void device_PacketHandlerReceived(object sender, PacketStatusEventArg e) { this.maxPacketNumber = e.Max; this.packetNumber = e.Number; this.Update(); }
private void device_PacketHandlerTransmitted(object sender, PacketStatusEventArg e) { maxPacketNumber = e.Max; packetNumber = e.Number; Update(); }
private void OnDevicePacketHandlerReceived(object sender, PacketStatusEventArg e) { this.loRaViewControl1.PacketNumber = e.Number; }