private void textBox1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
{
// Determine whether the keystroke is a number from the top of the keyboard.
// Set the effect based upon the KeyState.
if ((e.KeyState & (8 + 32)) == (8 + 32) ... )
{
}
}