I have a TextBox in my form and I added this event on it:
TextBox
private void txtValue_KeyDown(object sender, KeyEventArgs e) { Me
If you handle the KeyPress event instead, you can examine the KeyChar property of KeyPressEventArgs to get the correct case.
KeyPress
KeyChar
KeyPressEventArgs