private void TextBox_KeyDown(object sender, KeyEventArgs e) { bool isDigit = e.Key >= Key.D0 && e.Key <= Key.D9; if (isDigit) { } else e.Handled = true;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)