SyntaxFix
Write A Post
Hire A Developer
Questions
private void txtuser_KeyPress(object sender, KeyPressEventArgs e) { if (!char.IsLetter(e.KeyChar) && !char.IsWhiteSpace(e.KeyChar) && !char.IsControl(e.KeyChar)) { e.Handled = true; } }