forcing a textbox to be numeric only
2008.04.11
It’s a pain on a smartphone to have a textbox not default to only numeric if you are in T9 mode. If you want to accomplish this simply do the following on the standard textbox control…
using Microsoft.WindowsCE.Forms; //at the top
InputModeEditor.SetInputMode(textBox1, InputMode.Numeric); //somewhere in your code