悟生慧

 

2014年11月25日

将汉字转换为拼音

摘要: private void txt_Chinese_TextChanged(object sender, EventArgs e) { txt_PinYIn.Text = //调用拼音类的GetABC方法得到拼音字符串 new Pin... 阅读全文

posted @ 2014-11-25 15:19 悟生慧 阅读(939) 评论(0) 推荐(0) 编辑

检查汉子字符

摘要: private void btn_GetCount_Click(object sender, EventArgs e) { int P_scalar = 0;//定义值类型变量并赋值为0 Regex P_regex = //创建正则表达式对... 阅读全文

posted @ 2014-11-25 14:16 悟生慧 阅读(327) 评论(0) 推荐(0) 编辑

导航