public PingReceivedEventArgs(PingResultDetail returnValue) { ReturnValue = returnValue; }
private void UpdateSquares(PingResultDetail resultDetail) { if (this.pnlMain.InvokeRequired) { SetPingReceivedCallback d = new SetPingReceivedCallback(UpdateSquares); this.Invoke(d, new object[] { resultDetail }); } else { foreach (var instance in m.PingInstances) { instance.Uc.UpdateValues(); } } }