TextBox که فقط اعداد فارسی می گیرد
http://soltanmohammadi.blogfa.com/post-16.aspx
در رویداد KeyPress کنترل TextBox کد زیر را می نویسیم :
if (!(char.IsDigit(e.KeyChar) || char.IsControl(e.KeyChar)))//shart
}
e.Handled = true;//d
{
if ((int)e.KeyChar >= 48 && (int)e.KeyChar < 58)//shart
e.KeyChar =(char(1632+int.Parse(e.KeyChar.ToString()));//d
http://soltanmohammadi.blogfa.com/post-16.aspx