c# if this.Check.CheckData(Id)) if this.Check.CheckData(Id)){MessageBox.Show("错误,请重新导入!","提示",MessageBoxButtons.OK,MessageBoxIcon.Exclamation);return;}xp运行下正常,win7就出现错误,跳到提示了
来源:学生作业学帮网 编辑:学帮网 时间:2024/06/30 19:44:50
c# if this.Check.CheckData(Id))
if this.Check.CheckData(Id))
{
MessageBox.Show("错误,请重新导入!","提示",MessageBoxButtons.OK,MessageBoxIcon.Exclamation);
return;
}
xp运行下正常,win7就出现错误,跳到提示了
由你的代码可以看出:
Check是一个“检查类”的实例,CheckData是其中的一个方法,用于检测id的有效性.
if(!this.Check.CheckData(Id))//如果验证不通过
{
//弹出提示信息
}
//至于你说的window7和xp运行结果不一样,这个真不清楚是什么回事,在我看来,应该和系统没有关系,应该是传入的id不同造成的结果不同.
c# if this.Check.CheckData(Id)) if this.Check.CheckData(Id)){MessageBox.Show(错误,请重新导入!,提示,MessageBoxButtons.OK,MessageBoxIcon.Exclamation);return;}xp运行下正常,win7就出现错误,跳到提示了
c#中this.
check this的意思check this
Check if available!
Unable to initialize streaming.Please check your Internet connection.If this problem persists,pl
this S/N is not available.Please check if it is the right one.中文是什么
check this sound
Che
che
c#中this的作用
C# this和C++this 的区别?
onMouseDown=Check(this,2)
c# if (new AdminUserDAL().login(user))
onBlur=check(this.form,this)
C# 里的and和or怎么表示?比如我想写一个if( this.textBox1.Text = or this.textBox2.Text =)在c#里面,这个关键词or应该用什么代替?|我试过,好像不行if(this.textBox1.Text =||this.textBox2.Text =)还是不行错误提
c# 中this[name]表示什么
在c#中 this.banding()是什么意思
C#中this.Invalidate()表示什么意思?