飘云阁

 找回密码
 加入我们

QQ登录

只需一步,快速开始

查看: 107|回复: 0

[求助] 哪位表哥帮忙指点一下

[复制链接]
  • TA的每日心情
    开心
    2024-5-14 18:54
  • 签到天数: 10 天

    [LV.3]偶尔看看II

    发表于 2024-5-7 18:21:36 | 显示全部楼层 |阅读模式
    哪位表哥帮忙看下该怎么弄,小弟刚学,才疏学浅,谢过~






    代码如下:

        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
    PYG19周年生日快乐!
    您需要登录后才可以回帖 登录 | 加入我们

    本版积分规则

    快速回复 返回顶部 返回列表