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 ();
		}
Ejemplo 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);
		}
Ejemplo n.º 8
0
		public void requestLoginFail (TCSignInHelper helper, string title, string message)
		{
			showWarningMessage (title, message);
			loadingView.dismiss ();
		}
Ejemplo n.º 9
0
		public void failNetwork(TCSignInHelper helper, string title, string message)
		{
			loadingView.dismiss ();
			showWarningMessage(title, message);
		}
Ejemplo n.º 10
0
		public void beginRequestLogin (TCSignInHelper helper)
		{
			this.loadingView.show ();
		}
Ejemplo n.º 11
0
		public void requestLoginSuccess (TCSignInHelper helper)
		{
			this.lbStatus.Alpha = 0;
			this.loadingView.dismiss ();

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