private void AssignTour(object sender, EventArgs e) { AsistimeTourAssign assignTourView = new AsistimeTourAssign(this, tourAsociado); assignTourView.TopMost = true; assignTourView.Show(); }
protected void Forward(object sender, EventArgs e) { AsistimeTourAssign form = Parent as AsistimeTourAssign; adultsChecked.ForEach(adult => { var a = userController.AsignTourAdult(form.tour._id, adults[adult]._id).Result; }); new PopupNotification("Asignación exitosa", "El tour " + form.tour.name + " se asignó correctamente");// "Asignaste el tour correctamente"); form.CloseForm(); }
protected void Back(object sender, EventArgs e) { AsistimeTourAssign form = Parent as AsistimeTourAssign; form.CloseForm(); }