阅读背景:

我想让我的表单上的所有文本框只接受尽可能少的代码 - c#

来源:互联网 

I am making a relatively simple bit of software which has quite a few textboxes and i want a way to only allow numbers in all textboxes in the form with hopefully one piece of code. I am currently using the following code to only allow numbers for one textbox but it means repeating those lines for each textbox.I am making a relatively simple bit of software




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: