private void btnEditValueName_Click(object sender, EventArgs e) { CRUDUIService .Edit <AddEditEventLookupValueValueFieldView, EventLookupValueNameModel, EventLookupValueName> (lbCriteria, @"You must select a Field first", model => CRUDUIService.Save(lbValueNames, model)); }
private void btnEditCondition_Click(object sender, EventArgs e) { CRUDUIService .Edit <AddEditEventLookupValueConditionView, EventLookupValueConditionModel, EventLookupValueCondition> (lbCriteria, @"You must select a Condition first", model => CRUDUIService.Save(lbConditions, model)); }
private void btnEditCriteria_Click(object sender, EventArgs e) { CRUDUIService .Edit <AddEditEventLookupValueCriteriaView, EventLookupValueCriteriaModel, EventLookupValueCriteria> (lbCriteria, @"You must select a Criteria first", model => CRUDUIService.Save(lbCriteria, model)); }
private void btnEditLookupValue_Click(object sender, EventArgs e) { CRUDUIService.Edit <AddEditEventLookupValueView, EventLookupValueModel, EventLookupValue>(lbLookupValues, @"You must select a Lookup Value first", (model => CRUDUIService.Save(lbLookupValues, model))); }