/// <summary> /// initialise the button events /// </summary> public void initButtons() { Button_Skip.TouchUpInside += (object sender, EventArgs e) => { SignupController nextPage = me.Storyboard.InstantiateViewController("LoginHub") as SignupController; isDone = true; me.NavigationController.PushViewController(nextPage, false); }; }
/// <summary> /// Back to the main startup hub /// </summary> public void backButton() { LoginBackButton.TouchUpInside += (object sender, EventArgs e) => { SignupController nextPage = this.Storyboard.InstantiateViewController("LoginHub") as SignupController; this.NavigationController.PushViewController(nextPage, false); }; }
public async void startTimer() { await PutTaskDelay(); if (!isDone) { SignupController nextPage = me.Storyboard.InstantiateViewController("LoginHub") as SignupController; me.NavigationController.PushViewController(nextPage, false); } }
/// <summary> /// initialise the button events /// </summary> public void initButtons() { Button_Continue.TouchUpInside += (object sender, EventArgs e) => { NewAccountControllerB nextPage = this.Storyboard.InstantiateViewController("NewAccountEmail") as NewAccountControllerB; this.NavigationController.PushViewController(nextPage, false); }; Back.TouchUpInside += (object sender, EventArgs e) => { SignupController lastPage = this.Storyboard.InstantiateViewController("LoginHub") as SignupController; this.NavigationController.PushViewController(lastPage, false);; }; }