码迷,mamicode.com
首页 > 其他好文 > 详细

非空验证

时间:2017-10-28 12:50:16      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:als   turn   txt   show   kong   icon   public   str   .sh   

public void feikong()
{
if (this.txtChaxun.Text.Trim().Equals(string.Empty))
{
MessageBox.Show("请输入用户名", "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
return;
}
}

非空验证

标签:als   turn   txt   show   kong   icon   public   str   .sh   

原文地址:http://www.cnblogs.com/wangyuxin123/p/7746354.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!