private void textBox2_KeyPress(object sender, KeyPressEventArgs e) { Char ch = e.KeyChar; validation v1 = new validation(); v1.validatedigitCharacters(ch, label11); }
private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { char x = e.KeyChar; validation v1 = new validation(); v1.validatedigitCharacters(x, label27); }
private void quantity_KeyPress(object sender, KeyPressEventArgs e) { validation v1 = new validation(); char tt = e.KeyChar; v1.validatedigitCharacters(tt, error); }