2012年9月19日
摘要: private string pattern = @"^[0-9]*$"; private string param = ""; private void textBox1_TextChanged(object sender, TextChangedEventArgs e) { Match m = Regex.Match(this.textBox1.Text, pattern); if (!m.Success) { this.textBox1.Text ... 阅读全文
posted @ 2012-09-19 17:29 轨 阅读(2019) 评论(0) 推荐(0) 编辑