if (int.TryParse(numericUpDownLowerLimit.Value, out MINLENGTH) == false || int.TryParse(numericUpDownUpperLimit.Value, out MAXLENGTH) == false) { ShowErrorBox("Min and Max lengths must be valid integers."); return; }
NumericUpDown
decimal
int MINLENGTH = (int)numericUpDownLowerLimit.Value; int MAXLENGTH = (int)numericUpDownUpperLimit.Value;
int
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)