c#编译时提示:当前上下文中不存在名称Check。是什么原因啊
privatevoidnumberBox3_MouseLeave(objectsender,EventArgse) &nbs...
private void numberBox3_MouseLeave(object sender, EventArgs e) { bool bo = new bool(); try { bo = Check("^\\d{15}|\\d{18}$", this.numberBox3.Text); if (bo == false) { this.labelname2.Visible = true; } else { this.labelname2.Visible = false; } } catch (Exception ex) { MessageBox.Show(ex.Message); } }
展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询