private RepositoryItem getComboboxRepositoryItem(UsedCalculationMethodDTO dto) { var comboBox = new UxRepositoryItemComboBox(grdCalculationMethodsView); comboBox.FillComboBoxRepositoryWith(_presenter.GetCalculationMethodsForCategory(dto.Category)); return(comboBox); }
private void onCalculationMethodChanged(UsedCalculationMethodDTO dto, PropertyValueSetEventArgs <string> e) { this.DoWithinExceptionHandler(() => _presenter.SetCalculationMethodForCategory(dto.Category, e.NewValue, e.OldValue)); }
public SuperToolTip ToolTipFor(UsedCalculationMethodDTO calculationMethod) { var toolTip = CreateToolTip(calculationMethod.Description, calculationMethod.CalculationMethodName); return(toolTip); }