private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { char x = e.KeyChar; validation v1 = new validation(); v1.validatedigitCharacters(x, label27); }
private void textBox2_KeyPress(object sender, KeyPressEventArgs e) { Char ch = e.KeyChar; validation v1 = new validation(); v1.validatedigitCharacters(ch, label11); }
private void quantity_KeyPress(object sender, KeyPressEventArgs e) { validation v1 = new validation(); char tt = e.KeyChar; v1.validatedigitCharacters(tt, error); }
private void textBox6_Leave(object sender, EventArgs e) { if (textBox6.Text != null) { validation v1 = new validation(); v1.emailValidation(textBox6.Text, label28); } }
private void emailText_Leave(object sender, EventArgs e) { if (emailText.Text != null) { validation v1 = new validation(); v1.emailValidation(emailText.Text, label30); } }
private void textBox1_TextChanged(object sender, EventArgs e) { validation v = new validation(); v.creditCardValidations(textBox1.Text, label6); }
private void textBox7_Leave(object sender, EventArgs e) { validation v1 = new validation(); v1.contactNumberValidation(textBox7.Text, label26); }
private void numText_Leave(object sender, EventArgs e) { validation v1 = new validation(); v1.contactNumberValidation(numText.Text, label16); }