You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I faced an issue when I enter invalid TimeSpan values on TimeSpanUpDown control.
E.g. exceptions occur when I remove one of the separator colon (":") or if I enter values greater than allowed (ArgumentOutOfRangeException).
As there is no catch block to handle such error cases the exception occurs also on my application as unhandled exception.
I attached the changed TimeSpanUpDown.cs file where I simply added a try catch block.
Hi,
I faced an issue when I enter invalid TimeSpan values on TimeSpanUpDown control.
E.g. exceptions occur when I remove one of the separator colon (":") or if I enter values greater than allowed (ArgumentOutOfRangeException).
As there is no catch block to handle such error cases the exception occurs also on my application as unhandled exception.
I attached the changed TimeSpanUpDown.cs file where I simply added a try catch block.
TimeSpanUpDown.zip
The text was updated successfully, but these errors were encountered: