Posts by luiz alberto • 11 points
1 post
-
1
votes4
answers447
viewsA: C# Textbox to stop receiving after comma
Most of my code was purchased in a post here, the only thing I added was a line. private void sua_TextBox1_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '.' || e.KeyChar == ',') {…