public Aluno() { InitializeComponent(); InserirAlunos navhome3 = new InserirAlunos(); navhome3.Title = "Inserir Alunos"; Children.Add(navhome3); teste navhome2 = new teste(); navhome2.Title = "teste"; Children.Add(navhome2); }
public async void Button_ClickedDeletar(object sender, EventArgs e) { var actionDeletar = await DisplayAlert("Deletar", "Voce escolheu Deletar seu maldito se tem certeza ", "Ok", "Cancelar"); InserirAlunos i = new InserirAlunos(); if (actionDeletar == true) { await servicaoalunao.DeleteAlunoAsync(alun); i.DeletarAlunoss(); i.ConsultarAlunosLista(); } await PopupNavigation.Instance.PopAsync(); }