private void authentication () { TCSignInHelper signInService = new TCSignInHelper (this); signInService.Delegate = this; signInService.requestSignIn (CoreSystem.Utils.getUserName (), CoreSystem.Utils.getPassWord (), true); }
partial void signIn (UIButton sender) { TCGlobals.getInstance.isWatingLogin = true; this.tfPassword.ResignFirstResponder (); this.tfUsername.ResignFirstResponder (); if (!MUtils.validateLogin (tfUsername.Text, this.tfPassword.Text).Equals ("")) { showWarningMessage (TCLocalizabled.getText("TextAlertSignIn"), MUtils.validateLogin (tfUsername.Text, this.tfPassword.Text)); return; } TCSignInHelper signInService = new TCSignInHelper (this); signInService.Delegate = this; signInService.requestSignIn (this.tfUsername.Text.Trim (), this.tfPassword.Text, this.isRemember); }