private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (char.IsDigit(e.KeyChar) == false && e.KeyChar!=8)
e.KeyChar = ‘\0′;
}
Etiketler: backspace tuşu çalışsın, csharp backspace, sayı girerken silme tuşuda çalışsın, sayı girişinde backspace tuşu, textbox a sayı girişi, textBox'a Sadece sayı girilsin