Exemplo n.º 1
0
 protected override BaseRespType OnBackButtonSelected(BackButtonType type)
 {
     if (type == BackButtonType.ActionButton)
     {
         Finish();
         return(BaseRespType.Ignore);
     }
     else
     {
         return(BaseRespType.PassToBase);
     }
 }
Exemplo n.º 2
0
        protected override BaseRespType OnBackButtonSelected(BackButtonType type)
        {
            var accountPreferences = new AccountPreferences(this)
            {
                FirstName = _FirstName.Text,
                LastName = _LastName.Text,
                Password = _Password.Text,
                AdminPassword = _AdminPassword.Text,
                Farm = (Farms.Farm)_FarmSpinner.SelectedItemPosition
            };

            accountPreferences.Save();

            SetResult(Result.Ok);

            return BaseRespType.PassToBase;
        }
Exemplo n.º 3
0
 protected virtual BaseRespType OnBackButtonSelected(BackButtonType type)
 {
     return(BaseRespType.PassToBase);
 }