private void textBox1_KeyPress_1(object sender, KeyPressEventArgs e) { if (!(Char.IsLetter(e.KeyChar) || Char.IsControl(e.KeyChar))) { e.Handled = true; } }
MaskedTextBox
Mask
KeyPress
System.UInt64.TryParse(yourTextBoxText)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)