bp2008 / pingtracer

Graphical pinging and traceroute application. Ping Tracer continuously pings each network host between your computer and a given destination, helping identify the source of connectivity problems.
MIT License
283 stars 29 forks source link

Properly load >10 seconds per ping configurations #24

Closed xnumad closed 3 years ago

xnumad commented 3 years ago

Steps to reproduce problem: Set >10 seconds per ping, close and start application again. You'll get a System.ArgumentOutOfRangeException.

Reason: XML value "rate" is loaded into nudPingsPerSecond.Value when it is still in default "pings per second" mode (where nudPingsPerSecond.Maximum = 10). Mode is loaded only in the next step.

Fix: Load mode before loading rate/value.