J
Joza
Hi!
How to replace dot with comma when user is typing somewhat in textBox?
I have wrote this part of code to detect typed dot, but how to
replace it with coma:
private void txtNum_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
{
if (e.KeyChar == (int)(char)'.')
{
e.Handled=true;
// TO DO
}
}
Thnx!
How to replace dot with comma when user is typing somewhat in textBox?
I have wrote this part of code to detect typed dot, but how to
replace it with coma:
private void txtNum_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
{
if (e.KeyChar == (int)(char)'.')
{
e.Handled=true;
// TO DO
}
}
Thnx!