Exemple #1
0
 void OnRegisterButton()
 {
     txt_Tip.text             = "";
     registerRequest.username = usernameIF.text;
     registerRequest.password = passwordIF.text;
     registerRequest.DefaultRequest();
 }
 public void OnRegisterButton()
 {
     hintMessage.text         = "";
     registerRequest.username = usernameIF.text;
     registerRequest.password = passwordIF.text;
     registerRequest.DefaultRequest();
 }
 public void OnConfirmButton()
 {
     m_hitMessage.text            = "";
     m_registerRequest.m_userName = m_userNameIF.text;
     m_registerRequest.m_passWord = m_passwordIF.text;
     m_registerRequest.DefaultRequest();
 }
Exemple #4
0
 public void DefaultRequest()
 {
     Tip.text = "";
     registerrequest.username = usernameIF.text;
     registerrequest.password = passwordIF.text;
     registerrequest.DefaultRequest();
 }
 public void OnRegisterButtonClick()
 {
     hintMessage.text         = "";
     registerRequest.Username = usernameIf.text;
     registerRequest.Password = passwordIf.text;
     registerRequest.DefaultRequest();
 }
 /// <summary>
 /// 注册按钮
 /// </summary>
 public void OnRegister()
 {
     ResponseText.text        = "敬请期待";
     registerRequest.username = username.text;
     registerRequest.password = password.text;
     registerRequest.DefaultRequest();
     Debug.Log("OnRegister");
 }
    public void OnRegisterClick()
    {
        message.text = "";

        registerRequest.Username = usernameIF.text;
        registerRequest.Password = passwordIF.text;

        registerRequest.DefaultRequest();
    }
    public void OnRegiste()
    {
        if (registerUsername.text == "" || registerPassword.text == "")
        {
            Debug.Log("用户名或者密码不能为空");
            return;
        }

        registerRequest.UserName = registerUsername.text;
        registerRequest.Password = registerPassword.text;

        registerRequest.DefaultRequest();
    }
Exemple #9
0
    public void OnRegisterButtonDown()
    {
        string strUserName = usernameIF.text;
        string strPassword = passwordIF.text;

        if (strUserName == "")
        {
            SetHitText("账号不能为空");
        }
        else if (strPassword == "")
        {
            SetHitText("密码不能为空");
        }
        else
        {
            SetHitText("");
            scriptRegisterRequest.UserName = strUserName;
            scriptRegisterRequest.PassWord = strPassword;
            scriptRegisterRequest.DefaultRequest();
        }
        Debug.Log("Register U:" + strUserName + " P:" + strPassword);
    }
Exemple #10
0
 private void OnRegisterButtonClick()
 {
     _registerRequest.Username = _usernameInputField.text;
     _registerRequest.Password = MD5Util.GetMD5(_passwordInputField.text);
     _registerRequest.DefaultRequest();
 }