示例#1
0
 void CancelAction(object sender, EventArgs e)
 {
     if (registeredUser != null)
     {
         registeredUser.DeleteInBackground();
     }
     SetResult(Result.Canceled);
     Finish();
 }
示例#2
0
        void SignUpCallback(ParseUser user, ParseException e)
        {
            if (isDead)
            {
                user.DeleteInBackground();
                return;
            }

            progress.Visibility = ViewStates.Invisible;

            if (user != null && e == null)
            {
                informativeText.Text = "Verification email sent. Waiting for confirmation...";
                RefreshLoop(user);
            }
            else
            {
                SetResult(Result.Canceled);
                actionButton.Text    = "< Go Back";
                informativeText.Text = "Error: the username likely exists already";
            }
        }