Exemple #1
0
 async void onAddBtnClicked(object sender, EventArgs e)
 {
     var nextPage = new EvaluacionesCreateUpdatePage(asignaturaUid, true)
     {
         BindingContext = new Evaluacion()
     };
     await Navigation.PushAsync(nextPage);
 }
Exemple #2
0
        async public void OnEdit(object sender, EventArgs e)
        {
            var        menuItem   = ((MenuItem)sender);
            Evaluacion evaluacion = menuItem.CommandParameter as Evaluacion;

            var nextPage = new EvaluacionesCreateUpdatePage(asignaturaUid, false);

            nextPage.BindingContext = evaluacion;
            await Navigation.PushAsync(nextPage);
        }