private void Login_Clicked(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(LoginTextInput.Text))
            {
                LoginTextLayout.HasError = true;
            }
            else
            {
                LoginTextLayout.HasError = false;
            }
            if (string.IsNullOrEmpty(PasswordTextInput.Text))
            {
                PasswordTextLayout.HasError = true;
            }
            else
            {
                PasswordTextLayout.HasError = false;
            }
            _viewModel.Login    = LoginTextInput.Text.ToString();
            _viewModel.Password = PasswordTextInput.Text.ToString();
            var _mainControlPage = new MainControlPage();

            Navigation.PushModalAsync(_mainControlPage);
        }
Exemple #2
0
        private void DoneButton_Clicked(object sender, EventArgs e)
        {
            var _mainControlPage = new MainControlPage();

            Navigation.PushModalAsync(_mainControlPage);
        }