Bineesh  Viswanath
how backSpace key can work in Text Box?
By Bineesh Viswanath in Windows Forms on Jul 01 2013
  • Munesh Sharma
    Apr, 2014 16

    private void TextBox1_KeyPress(object sender, KeyPressEventArgs e) {if (!Char.IsLetter(e.KeyChar) && !Char.IsControl(e.KeyChar))e.Handled = true; }

    • 0
  • Bineesh  Viswanath
    Jul, 2013 1

    private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
    {
                 if(e.Keychar=='\b')
           {
                 e.Handled=false;
            }
    }



    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS