void EventButtonClick(object sender, EventArgs e) { var addpl = new AgregarPlato("Evento"); addpl.close += Addpl_close; this.Navigation.PushAsync(addpl); }
private async void CartaViewModel_agregar(object sender, EventArgs e) { var addpl = new AgregarPlato("Plato"); addpl.close += Addpl_close; addpl.AgregarPlatillo(sender as Plato); await this.Navigation.PushAsync(addpl); }