1 2 3 4 5 6 7 8 |
private void txtTimeSlice_KeyPress(object sender, KeyPressEventArgs e) { var keyCode = (int)e.KeyChar; if ((keyCode < 48 || keyCode > 57) && keyCode != 8 && keyCode != 46) { e.Handled = true; } } |
|
||||||
|
||||||
Copyright © 2024 anydragon - All Rights Reserved Powered by WordPress & Atahualpa |