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)
浙公网安备 33010602011771号