예제 #1
0
        private async void ApplyChanges_Clicked_1(object sender, EventArgs e)
        {
            EditUserServiceManager editUser = new EditUserServiceManager();

            if (usernameEntry.Text != null && friendlynameEntry.Text != null && passwordEntry.Text != null)
            {
                username      = usernameEntry.Text;
                FriendlyName  = friendlynameEntry.Text;
                passwordNuova = passwordEntry.Text;
                Navigation.PushPopupAsync(new EditUserPopUpPage());
            }
            else
            {
                await DisplayAlert("Fondo Merende", "inserisci tutti i dati", "Ok");
            }
        }
예제 #2
0
        private async void ApplyChanges_Clicked_1(object sender, EventArgs e)
        {
            EditUserServiceManager editUser = new EditUserServiceManager();

            if (appoggio1 != null && appoggio2 != null && appoggio3 != null)
            {
                username      = appoggio1;
                FriendlyName  = appoggio2;
                passwordNuova = appoggio3;
                Navigation.PushPopupAsync(new EditUserPopUpPage());
            }
            else
            {
                await DisplayAlert("Fondo Merende", "inserisci tutti i dati", "Ok");
            }
        }