public void failNotActive (TCSignInHelper helper)
		{
			NSNotificationCenter.DefaultCenter.PostNotificationName ("finshedSplash", null);
		}
		public void requestLoginFail (TCSignInHelper helper, string title, string message)
		{
			rootVC = (TCHomeViewController)myStoryboard.InstantiateViewController ("TCHomeViewController");
			setNavigation ();
		}
		public void failNetwork (TCSignInHelper helper, string title, string message)
		{
			NSNotificationCenter.DefaultCenter.PostNotificationName ("finshedSplash", null);
		}
		public void beginRequestLogin (TCSignInHelper helper)
		{

		}
		public void requestLoginSuccess (TCSignInHelper helper)
		{
			rootVC = (TCMainTabViewController)myStoryboard.InstantiateViewController ("TCMainTabViewController");
			MApplication.getInstance ().isRequired = false;
			setNavigation ();
		}
Exemplo n.º 6
0
		public void failNotActive(TCSignInHelper helper)
		{
			this.PerformSegue ("LoginVCToActiveCodeVC", this);
			loadingView.dismiss ();
		}
		private void authentication ()
		{
			TCSignInHelper signInService = new TCSignInHelper (this);
			signInService.Delegate = this;
			signInService.requestSignIn (CoreSystem.Utils.getUserName (), CoreSystem.Utils.getPassWord (), true);
		}
Exemplo n.º 8
0
		public void requestLoginFail (TCSignInHelper helper, string title, string message)
		{
			showWarningMessage (title, message);
			loadingView.dismiss ();
		}
Exemplo n.º 9
0
		public void failNetwork(TCSignInHelper helper, string title, string message)
		{
			loadingView.dismiss ();
			showWarningMessage(title, message);
		}
Exemplo n.º 10
0
		public void beginRequestLogin (TCSignInHelper helper)
		{
			this.loadingView.show ();
		}
Exemplo n.º 11
0
		public void requestLoginSuccess (TCSignInHelper helper)
		{
			this.lbStatus.Alpha = 0;
			this.loadingView.dismiss ();

			if (MApplication.getInstance ().isBetaMode) {
				showWarningBetaMode ();
			} else {
				gotoCurrentView ();
			}
		}
Exemplo n.º 12
0
		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);
		}
Exemplo n.º 13
0
		public void requestLoginSuccess (TCSignInHelper helper)
		{
			this.loadingView.dismiss ();
		}
Exemplo n.º 14
0
		public void failNotActive (TCSignInHelper helper)
		{
			loadingView.dismiss ();
		}
Exemplo n.º 15
0
		public void failNetwork (TCSignInHelper helper, string title, string message)
		{
			loadingView.dismiss ();
			MUtils.showNetworkFailed (this);
		}
Exemplo n.º 16
0
		public void requestLoginFail (TCSignInHelper helper, string title, string message)
		{
			loadingView.dismiss ();
			MUtils.showRequestFail (this);
		}