Example #1
0
        private bool check_string_numeric(TextBox txt)
        {
            validation_library_cls_check = new validation_library_cls();
            string txt1        = txt.Text;
            bool   checked_val = validation_library_cls_check.checked_validated(txt1, "string-numeric-without-zero");

            return(checked_val);
        }
Example #2
0
        private bool check_string(TextBox txt)
        {
            validation_library_cls_check = new validation_library_cls();
            string txt1        = txt.Text;
            bool   checked_val = validation_library_cls_check.checked_validated(txt1, "only-string");

            return(checked_val);
        }