Merhaba bu makalemizde sizlerle birlikte textbox'a metin engellemesi yani sadece rakam girişi nasıl hep beraber öğreneceğiz.
Yeni bir win. forms app. açıp bir adet textbox atalım..Ardından textbox ın KeyPress eventine çift tıklayarak aşağıdaki kodları yazıyoruz..
Kod:
private void...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.