IsDigit Komutu İle İlgili Örnek C#.NET (C.NET)
IsDigit Komutu İle İlgili Örnek C#.NET

public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (char.IsDigit(e.KeyChar) == false && e.KeyChar!=(char)08)
{
e.Handled = true;
}
}
}
}
Son Yorumlar