miércoles, 24 de agosto de 2011

Keypressed to null

private void TextBox_KeyPress(object sender, KeyPressEventArgs e)
{
      e.KeyChar = Convert.ToChar(0);

      //equivalent expression
      e.Handle = false;
}