diff --git a/Elwig/Helpers/Validator.cs b/Elwig/Helpers/Validator.cs index 9a88049..79cf91d 100644 --- a/Elwig/Helpers/Validator.cs +++ b/Elwig/Helpers/Validator.cs @@ -34,7 +34,7 @@ namespace Elwig.Helpers { return CheckInteger(input, required, -1); } - private static ValidationResult CheckInteger(TextBox input, bool required, int maxLen) { + public static ValidationResult CheckInteger(TextBox input, bool required, int maxLen) { string text = ""; int pos = input.CaretIndex; for (int i = 0; i < input.Text.Length; i++) {