- UID
- 74545
注册时间2014-3-19
阅读权限10
最后登录1970-1-1
周游历练

TA的每日心情 | 开心 2024-5-14 18:54 |
---|
签到天数: 10 天 [LV.3]偶尔看看II
|
哪位表哥帮忙看下该怎么弄,小弟刚学,才疏学浅,谢过~
代码如下:
private bool method_2()
{
if (this.textBox2.Text.Length < 20)
{
MessageBox.Show("注册码错误");
return false;
}
int num = 0;
if (!this.mainForm_0.CheckRegister2(this.textBox2.Text, ref num))
{
MessageBox.Show("注册码错误");
return false;
}
this.mainForm_0.UserCount = num;
this.mainForm_0.MCID = this.textBox1.Text;
this.method_5();
if (num == 999)
{
MessageBox.Show("注册成功,(用户数-无限工作点)");
}
else
{
MessageBox.Show("注册成功,(用户数-" + num.ToString() + ")");
}
this.SureClick = true;
this.SelectValue = this.textBox2.Text;
base.Close();
return true;
} |
|
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?加入我们
x
|