コード例 #1
0
        private void textBox2_KeyPress(object sender, KeyPressEventArgs e)
        {
            Char       ch = e.KeyChar;
            validation v1 = new validation();

            v1.validatedigitCharacters(ch, label11);
        }
コード例 #2
0
        private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
        {
            char       x  = e.KeyChar;
            validation v1 = new validation();

            v1.validatedigitCharacters(x, label27);
        }
コード例 #3
0
        private void quantity_KeyPress(object sender, KeyPressEventArgs e)
        {
            validation v1 = new validation();

            char tt = e.KeyChar;

            v1.validatedigitCharacters(tt, error);
        }