Пример #1
0
 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));
 }
Пример #2
0
 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));
 }
Пример #3
0
 private void btnAddValueName_Click(object sender, EventArgs e)
 {
     CRUDUIService
     .Add <AddEditEventLookupValueValueFieldView, EventLookupValueNameModel, EventLookupValueName>
         (model => CRUDUIService.Save(lbValueNames, model));
 }
Пример #4
0
 private void btnAddCriteria_Click(object sender, EventArgs e)
 {
     CRUDUIService
     .Add <AddEditEventLookupValueCriteriaView, EventLookupValueCriteriaModel, EventLookupValueCriteria>
         (model => CRUDUIService.Save(lbCriteria, model));
 }
Пример #5
0
 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));
 }
Пример #6
0
 private void btnAddCondition_Click(object sender, EventArgs e)
 {
     CRUDUIService
     .Add <AddEditEventLookupValueConditionView, EventLookupValueConditionModel, EventLookupValueCondition>
         (model => CRUDUIService.Save(lbConditions, 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)));
 }
 private void btnAddLookupValue_Click(object sender, EventArgs e)
 {
     CRUDUIService.Add <AddEditEventLookupValueView, EventLookupValueModel, EventLookupValue>((model => CRUDUIService.Save(lbLookupValues, model)));
 }