Questions tagged [integerupdown]
16 questions
-2
votes
1 answer
How can I use int.TryParse in comparison instruction C# WPF?
I have two IntegerUpDown Controls, and I need to compare in the MouseLeave_Event , I used int.Parse but when I tried this code I got an exception:
if (int.Parse(minUpdown.Text.ToString()) <
int.Parse(maxUpdown.Text.ToString()))
…
user14743092