private void button2_Click(object sender, EventArgs e) { TurkishTCValidator.TC_Online_Validator _Validator = new TurkishTCValidator.TC_Online_Validator(); var result = _Validator.ValidateForeigner(99999999999, "NAME", "LASTNAME", 1992, 01, 01); MessageBox.Show(result.ToString()); }
private void button1_Click(object sender, EventArgs e) { TurkishTCValidator.TC_Online_Validator _Validator = new TurkishTCValidator.TC_Online_Validator(); _Validator.OnValidationResult += _Validator_OnValidationResult; for (int i = 0; i < 50; i++) { _Validator.CallValidator(0000000000, "NAME", "LASTNAME", 1992, "CALBACKDATA" + i); } }