コード例 #1
0
        async private void StartLogin()
        {
            if (!string.IsNullOrEmpty(Name.ToString()) || (!string.IsNullOrEmpty(Password.ToString())))
            {
                await AlertServices.AlertAsync(Name.ToString());

                await AlertServices.NavegationHome();
            }
            else
            {
                await AlertServices.AlartEmpty();
            }
        }
コード例 #2
0
        async private void ComfirmEmpty()
        {
            if (!string.IsNullOrEmpty(Name) || !string.IsNullOrEmpty(Email) || !string.IsNullOrEmpty(Password) || !string.IsNullOrEmpty(Password) || !string.IsNullOrEmpty(ConfirmPassword))
            {
                if (string.Equals(Password, ConfirmPassword))
                {
                    await interfaceAlert.AlertEmpyRegister(Name);

                    await interfaceAlert.NavegationHome();
                }
                else
                {
                    await interfaceAlert.AlertPassword();
                }
            }
            else
            {
                await interfaceAlert.AlartEmpty();
            }
        }