小伟

小伟

 

2010年10月18日

Winform中限制输入两位小数

摘要: public static bool txtboxliangweixiaoshu(KeyPressEventArgs e,string tbtext) { if (tbtext.Trim().Length > 0 && tbtext.Trim().IndexOf(".") > 0) { if (tbtext.Trim().IndexOf(".") < tbtext... 阅读全文

posted @ 2010-10-18 15:53 旋风 阅读(398) 评论(0) 推荐(0)

导航